mirror of
https://github.com/Laxilef/OTGateway.git
synced 2025-12-11 02:34:29 +05:00
upd build script
This commit is contained in:
3
build.py
3
build.py
@@ -3,6 +3,9 @@ import os
|
||||
Import("env")
|
||||
|
||||
def post_build(source, target, env):
|
||||
if os.path.exists(os.path.join(env["PROJECT_DIR"], "build")) == False:
|
||||
return
|
||||
|
||||
src = target[0].get_abspath()
|
||||
dest = os.path.join(env["PROJECT_DIR"], "build", "firmware_%s_%s.bin" % (env.GetProjectOption("board"), env.GetProjectOption("version")))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user