diff --git a/build_tools/scripts/build_server.py.orig b/build_tools/scripts/build_server.py index 15a8ff4..e5a8f28 100644 --- a/build_tools/scripts/build_server.py.orig +++ b/build_tools/scripts/build_server.py @@ -51,14 +51,9 @@ def make(): if ("windows" == base.host_platform()): pkg_target += "-win" - base.cmd_in_dir(server_build_dir + "/DocService", "pkg", [".", "-t", pkg_target, "--options", "max_old_space_size=4096", "-o", "docservice"]) - base.cmd_in_dir(server_build_dir + "/FileConverter", "pkg", [".", "-t", pkg_target, "-o", "converter"]) - base.cmd_in_dir(server_build_dir + "/Metrics", "pkg", [".", "-t", pkg_target, "-o", "metrics"]) - - example_dir = base.get_script_dir() + "/../../document-server-integration/web/documentserver-example/nodejs" - base.delete_dir(example_dir + "/node_modules") - base.cmd_in_dir(example_dir, "npm", ["install"]) - base.cmd_in_dir(example_dir, "pkg", [".", "-t", pkg_target, "-o", "example"]) + base.cmd_in_dir(server_build_dir + "/DocService", "pkg", [".", "--options", "max_old_space_size=4096", "-o", "docservice"]) + base.cmd_in_dir(server_build_dir + "/FileConverter", "pkg", [".", "-o", "converter"]) + base.cmd_in_dir(server_build_dir + "/Metrics", "pkg", [".", "-o", "metrics"]) def build_server_develop(): server_dir = base.get_script_dir() + "/../../server"