Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [...]
- if [ "$BUILD_BROWSER_CLIENT" == "YES" ]; then
- # AngularJS staff client
- cd ../../../
- echo "Building AngularJS browser staff client"
- cd Open-ILS/web/js/ui/default/staff/
- npm install # fetch build dependencies
- npm run build-prod # copy to build dir and minify JS files
- # npm cache is big and unnecessary in the final build. remove it.
- rm -r node_modules
- cd ../../../../../ # Open-ILS dir
- # OPAC dependencies
- cd web/opac/deps
- npm install # fetch dependencies
- # and leave them in node_modules; there's no build step
- cd ../../.. # Open-ILS dir
- # Angular staff client
- echo "Building Angular browser staff client"
- cd src/eg2
- npm install # fetch build dependencies
- ng build --prod
- --> ng run build-cs-CZ
- # npm cache is big and unnecessary in the final build. remove it.
- rm -rf node_modules
- cd ../../../../ # release dir
- else
- echo "Skipping browser client build"
- cd ../../../../
- fi
- [...]
Advertisement
Add Comment
Please, Sign In to add comment