Updated action w linux path

This commit is contained in:
Magnus Persson
2022-01-08 09:38:25 +01:00
parent 1894bc4959
commit 42205a94c9
3 changed files with 8 additions and 13 deletions

View File

@ -9,24 +9,20 @@ print( "Copy html-files from " + source + " -> " + target )
os.makedirs(os.path.dirname( target ), exist_ok=True)
file = "about.min.htm"
print( "Copy file: " + source + file + "->" + target + file)
#print( "Copy file: " + source + file + "->" + target + file)
shutil.copyfile( source + file, target + file )
file = "calibration.min.htm"
print( "Copy file: " + source + file + "->" + target + file)
#print( "Copy file: " + source + file + "->" + target + file)
shutil.copyfile( source + file, target + file )
file = "config.min.htm"
print( "Copy file: " + source + file + "->" + target + file)
#print( "Copy file: " + source + file + "->" + target + file)
shutil.copyfile( source + file, target + file )
file = "device.min.htm"
print( "Copy file: " + source + file + "->" + target + file)
#print( "Copy file: " + source + file + "->" + target + file)
shutil.copyfile( source + file, target + file )
file = "index.min.htm"
print( "Copy file: " + source + file + "->" + target + file)
#print( "Copy file: " + source + file + "->" + target + file)
shutil.copyfile( source + file, target + file )
file = "upload.min.htm"
print( "Copy file: " + source + file + "->" + target + file)
#print( "Copy file: " + source + file + "->" + target + file)
shutil.copyfile( source + file, target + file )
#print( "Adding custom build step (copy ./heml/*.min.html to ./data/): ")
#print(env.Dump())
#env.AddPreAction("buildprog", before_build)