summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvgoodwinv <46117260+vgoodwinv@users.noreply.github.com>2019-01-14 21:21:48 -0500
committerGitHub <noreply@github.com>2019-01-14 21:21:48 -0500
commit6962c04f66519a592ba9a2e52453fee6b0c4d6fa (patch)
tree535bf4b45167854d8a4a46856fcd6eb6501f66aa
parent738e8f002884a0ed302a695338c7be2af885ab39 (diff)
Update build_release_files.py
added language directories under exist board directories for #1441
-rwxr-xr-xtools/build_release_files.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/build_release_files.py b/tools/build_release_files.py
index 6bf418fe6..5ad886e50 100755
--- a/tools/build_release_files.py
+++ b/tools/build_release_files.py
@@ -34,6 +34,8 @@ for board in build_boards:
board_info = all_boards[board]
for language in languages:
+ bin_directory = "../bin/{}/-{board}/-{language}".format(board=board, language=language)
+ os.makedirs(bin_directory, exist_ok=True)
start_time = time.monotonic()
make_result = subprocess.run("make -C ../ports/" + board_info["port"] + " TRANSLATION=" + language + " BOARD=" + board, shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
build_duration = time.monotonic() - start_time