diff --git a/bin/build-forest.js b/bin/build-forest.js new file mode 100644 index 0000000..c671bae --- /dev/null +++ b/bin/build-forest.js @@ -0,0 +1,13 @@ +import {cd, path} from 'zx' +import {trim} from "licia"; +import {run_deploy_batch, run_deploy_root} from "./library.js"; + +// 切换目录 +cd(trim(path.dirname(import.meta.dirname))) +// 执行流程 +try { + await run_deploy_root() + await run_deploy_batch(['service-common', 'service-dependencies', 'service-configuration', 'service-forest']) +} catch (e) { + console.error(e) +} \ No newline at end of file