Merge pull request #1469 from vgoodwinv/patch-2

Update build_release_files.py - board/language version
This commit is contained in:
Scott Shawcroft 2019-01-15 00:15:18 -08:00 committed by GitHub
commit 043a9e0e7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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