This commit is contained in:
Kulikova Svetlana
2021-07-27 12:47:46 +03:00
parent 5214162718
commit a234671ad2

View File

@ -94,9 +94,9 @@ base.copy_file("./all_files_test/index.html", "./deploy/index.html")
base.copy_file("./all_files_test/code.js", "./deploy/code.js")
base.copy_file("./all_files_test/file.js", "./deploy/file.js")
base.copy_dir("./all_files_test/pdf", "./deploy/pdf")
if not base.is_dir("./../../DesktopEditor/graphics/pro/js/deploy"):
if not base.is_exist("./../../DesktopEditor/graphics/pro/js/deploy/xps.js"):
base.cmd_in_dir("./../../DesktopEditor/graphics/pro/js", "python", ["xps_make.py"])
if base.is_dir("./../../DesktopEditor/graphics/pro/js/deploy"):
if base.is_exist("./../../DesktopEditor/graphics/pro/js/deploy/xps.js"):
base.create_dir("./deploy/xps")
base.copy_file("./../../DesktopEditor/graphics/pro/js/deploy/xps.js", "./deploy/xps/xps.js")
base.copy_file("./../../DesktopEditor/graphics/pro/js/deploy/xps.wasm", "./deploy/xps/xps.wasm")