Fixed jenkins script for windows
This commit is contained in:
parent
a23b31c474
commit
ea092a66ed
@ -83,8 +83,13 @@ function compile_native() {
|
|||||||
|
|
||||||
function package_client() {
|
function package_client() {
|
||||||
begin_task "${project_name}_package" "Packaging client"
|
begin_task "${project_name}_package" "Packaging client"
|
||||||
npm run build-linux-64
|
if [[ ${build_os_type} == "win32" ]]; then
|
||||||
check_err_exit ${project_name} "Failed to package client!"
|
npm run build-windows-64
|
||||||
|
check_err_exit ${project_name} "Failed to package client!"
|
||||||
|
else
|
||||||
|
npm run build-linux-64
|
||||||
|
check_err_exit ${project_name} "Failed to package client!"
|
||||||
|
fi
|
||||||
end_task "${project_name}_package" "Client package created"
|
end_task "${project_name}_package" "Client package created"
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -99,8 +104,13 @@ function deploy_client() {
|
|||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
npm run package-linux-64 ${teaclient_deploy_channel}
|
if [[ ${build_os_type} == "win32" ]]; then
|
||||||
check_err_exit ${project_name} "Failed to deploying client!"
|
npm run package-windows-64 ${teaclient_deploy_channel}
|
||||||
|
check_err_exit ${project_name} "Failed to deploying client!"
|
||||||
|
else
|
||||||
|
npm run package-linux-64 ${teaclient_deploy_channel}
|
||||||
|
check_err_exit ${project_name} "Failed to deploying client!"
|
||||||
|
fi
|
||||||
end_task "${project_name}_package" "Client successfully deployed!"
|
end_task "${project_name}_package" "Client successfully deployed!"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
1
modules/renderer/imports/.gitignore
vendored
Normal file
1
modules/renderer/imports/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
imports_shared.d.ts
|
Loading…
Reference in New Issue
Block a user