Fixed build for build server
This commit is contained in:
parent
04d3467927
commit
bff44286c4
@ -7,8 +7,11 @@ source ../scripts/build_helper.sh
|
||||
|
||||
function install_npm() {
|
||||
begin_task "${project_name}_update" "Installing NPM"
|
||||
npm install
|
||||
npm install --save-dev
|
||||
check_err_exit ${project_name} "Failed to install nodejs files!"
|
||||
npm run install-platform
|
||||
check_err_exit ${project_name} "Failed to install platform depend nodejs files!"
|
||||
|
||||
npm update
|
||||
check_err_exit ${project_name} "Failed to update nodejs files!"
|
||||
end_task "${project_name}_update" "NPM installed"
|
||||
|
@ -16,8 +16,7 @@
|
||||
"package-linux-64": "node installer/package_linux.js",
|
||||
"build-windows-64": "node installer/build.js win32",
|
||||
"package-windows-64": "node installer/package_windows.js",
|
||||
"_postinstall": "node ./node_modules/platform-dependent-modules/cli.js",
|
||||
"postinstall": "npm run _postinstall"
|
||||
"install-platform": "node ./node_modules/platform-dependent-modules/cli.js",
|
||||
},
|
||||
"author": "TeaSpeak (WolverinDEV)",
|
||||
"license": "ISC",
|
||||
|
Loading…
Reference in New Issue
Block a user