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() {
|
function install_npm() {
|
||||||
begin_task "${project_name}_update" "Installing NPM"
|
begin_task "${project_name}_update" "Installing NPM"
|
||||||
npm install
|
npm install --save-dev
|
||||||
check_err_exit ${project_name} "Failed to install nodejs files!"
|
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
|
npm update
|
||||||
check_err_exit ${project_name} "Failed to update nodejs files!"
|
check_err_exit ${project_name} "Failed to update nodejs files!"
|
||||||
end_task "${project_name}_update" "NPM installed"
|
end_task "${project_name}_update" "NPM installed"
|
||||||
|
@ -16,8 +16,7 @@
|
|||||||
"package-linux-64": "node installer/package_linux.js",
|
"package-linux-64": "node installer/package_linux.js",
|
||||||
"build-windows-64": "node installer/build.js win32",
|
"build-windows-64": "node installer/build.js win32",
|
||||||
"package-windows-64": "node installer/package_windows.js",
|
"package-windows-64": "node installer/package_windows.js",
|
||||||
"_postinstall": "node ./node_modules/platform-dependent-modules/cli.js",
|
"install-platform": "node ./node_modules/platform-dependent-modules/cli.js",
|
||||||
"postinstall": "npm run _postinstall"
|
|
||||||
},
|
},
|
||||||
"author": "TeaSpeak (WolverinDEV)",
|
"author": "TeaSpeak (WolverinDEV)",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user