mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-01-26 16:49:11 +03:00
Merge branch 'dev'
This commit is contained in:
@@ -11,7 +11,7 @@ def move_file(source, target, env):
|
||||
# get the build info
|
||||
bag = {}
|
||||
exprs = [(re.compile(r'^#define EMSESP_APP_VERSION\s+"(\S+)"'), 'app_version')]
|
||||
with open('./src/version.h', 'r') as f:
|
||||
with open('./src/emsesp_version.h', 'r') as f:
|
||||
for l in f.readlines():
|
||||
for expr, var in exprs:
|
||||
m = expr.match(l)
|
||||
@@ -36,7 +36,6 @@ def move_file(source, target, env):
|
||||
print("app version: " + app_version)
|
||||
print("platform: " + platform)
|
||||
|
||||
# TODO do we need to add a .exe extension for windows? - need to test
|
||||
variant = "native"
|
||||
|
||||
# check if output directories exist and create if necessary
|
||||
|
||||
Reference in New Issue
Block a user