From 0d4cd20ba31f1f7fd3f2eb8123a7399cf1ab2593 Mon Sep 17 00:00:00 2001 From: Alexis Date: Thu, 30 Sep 2021 06:43:53 +0930 Subject: [PATCH] chore: ensure binary runs all steps --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 58de0dab0..88151ab90 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "build-binary-step-1": "nexe ./dist/cli.js --output ./bin/unraid-api --make=\"-j$(nproc 2> /dev/null || echo 1)\" -r './dist/**/*' -r './node_modules/**/*' && echo '✔ Binary built: ./bin/unraid-api'", "build-binary-step-2": "nexe ./dist/supervisor.js --output ./bin/unraid-supervisor --make=\"-j$(nproc 2> /dev/null || echo 1)\" -r './dist/**/*' -r './node_modules/**/*' && echo '✔ Binary built: ./bin/unraid-supervisor'", "build-binary-step-3": "rm -rf ./node_modules && rm -rf ./dist && echo '✔ Source files deleted'", - "build-binary": "npm run build-binary-step-1 && npm run build-binary-step-2", + "build-binary": "npm run build-binary-step-1 && npm run build-binary-step-2 && build-binary-step-3", "copy-schemas": "cpx app/**/*.graphql dist/types", "clean": "modclean --no-progress --run --path .", "commit": "npx git-cz",