Fix build errors
This commit is contained in:
parent
6262cec27d
commit
e82cd2aeae
@ -12,42 +12,6 @@ def after_build(source, target, env):
|
|||||||
dir = env.GetLaunchDir()
|
dir = env.GetLaunchDir()
|
||||||
#name = env.get( "PIOENV" )
|
#name = env.get( "PIOENV" )
|
||||||
|
|
||||||
# Copy file 1
|
|
||||||
source = dir + "/data/index.min.htm"
|
|
||||||
target = dir + "/bin/index.min.htm"
|
|
||||||
print( "Copy file : " + source + " -> " + target )
|
|
||||||
shutil.copyfile( source, target )
|
|
||||||
|
|
||||||
# Copy file 2
|
|
||||||
source = dir + "/data/config.min.htm"
|
|
||||||
target = dir + "/bin/config.min.htm"
|
|
||||||
print( "Copy file : " + source + " -> " + target )
|
|
||||||
shutil.copyfile( source, target )
|
|
||||||
|
|
||||||
# Copy file 3
|
|
||||||
source = dir + "/data/about.min.htm"
|
|
||||||
target = dir + "/bin/about.min.htm"
|
|
||||||
print( "Copy file : " + source + " -> " + target )
|
|
||||||
shutil.copyfile( source, target )
|
|
||||||
|
|
||||||
# Copy file 4
|
|
||||||
source = dir + "/data/calibration.min.htm"
|
|
||||||
target = dir + "/bin/calibration.min.htm"
|
|
||||||
print( "Copy file : " + source + " -> " + target )
|
|
||||||
shutil.copyfile( source, target )
|
|
||||||
|
|
||||||
# Copy file 5
|
|
||||||
source = dir + "/data/format.min.htm"
|
|
||||||
target = dir + "/bin/format.min.htm"
|
|
||||||
print( "Copy file : " + source + " -> " + target )
|
|
||||||
shutil.copyfile( source, target )
|
|
||||||
|
|
||||||
# Copy file 6
|
|
||||||
source = dir + "/data/test.min.htm"
|
|
||||||
target = dir + "/bin/test.min.htm"
|
|
||||||
print( "Copy file : " + source + " -> " + target )
|
|
||||||
shutil.copyfile( source, target )
|
|
||||||
|
|
||||||
target = dir + "/bin/version.json"
|
target = dir + "/bin/version.json"
|
||||||
ver = get_build_flag_value("CFG_APPVER")
|
ver = get_build_flag_value("CFG_APPVER")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user