Update build_release_files.py

added language directories under exist board directories for #1441
This commit is contained in:
vgoodwinv 2019-01-14 21:21:48 -05:00 committed by GitHub
parent 738e8f0028
commit 6962c04f66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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