2023-09-06 04:16:19 +00:00
|
|
|
diff --git a/build_tools/scripts/build_server.py.orig b/build_tools/scripts/build_server.py
|
2023-09-06 04:35:00 +00:00
|
|
|
index 15a8ff4..e5a8f28 100644
|
2023-09-06 04:16:19 +00:00
|
|
|
--- a/build_tools/scripts/build_server.py.orig
|
|
|
|
+++ b/build_tools/scripts/build_server.py
|
2023-09-06 04:35:00 +00:00
|
|
|
@@ -51,14 +51,9 @@ def make():
|
2023-09-06 04:16:19 +00:00
|
|
|
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"])
|
2023-09-06 04:35:00 +00:00
|
|
|
-
|
|
|
|
- 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"])
|
2023-09-06 04:16:19 +00:00
|
|
|
+ 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"
|