Update build scripts to include npm run compile

This commit is contained in:
Simon Larsen
2024-03-12 13:24:16 +00:00
parent fab0c18b1f
commit be23196ad0
3 changed files with 3 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
# This is taken from: https://nodejs.org/api/single-executable-applications.html
npm run compile
node --experimental-sea-config sea-config.json
cp $(command -v node) InfrastructureAgent
npm i postject -g

View File

@@ -1,5 +1,6 @@
# This is taken from: https://nodejs.org/api/single-executable-applications.html
npm run compile
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
node --experimental-sea-config $SCRIPT_DIR/../../sea-config.json
cp $(command -v node) InfrastructureAgent

View File

@@ -1,5 +1,5 @@
# This is taken from: https://nodejs.org/api/single-executable-applications.html
npm run compile
SET TEMP_SCRIPT_DIR=%~dp0
SET SCRIPT_DIR=%SCRIPT_DIR:~0,-1%
npm i postject -g