Guest User

Untitled

a guest
Apr 21st, 2022
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. [...]
  2.  
  3. if [ "$BUILD_BROWSER_CLIENT" == "YES" ]; then
  4. # AngularJS staff client
  5. cd ../../../
  6. echo "Building AngularJS browser staff client"
  7. cd Open-ILS/web/js/ui/default/staff/
  8. npm install # fetch build dependencies
  9. npm run build-prod # copy to build dir and minify JS files
  10. # npm cache is big and unnecessary in the final build. remove it.
  11. rm -r node_modules
  12. cd ../../../../../ # Open-ILS dir
  13.  
  14. # OPAC dependencies
  15. cd web/opac/deps
  16. npm install # fetch dependencies
  17. # and leave them in node_modules; there's no build step
  18. cd ../../.. # Open-ILS dir
  19.  
  20. # Angular staff client
  21. echo "Building Angular browser staff client"
  22. cd src/eg2
  23. npm install # fetch build dependencies
  24. ng build --prod
  25.  
  26. --> ng run build-cs-CZ
  27.  
  28. # npm cache is big and unnecessary in the final build. remove it.
  29. rm -rf node_modules
  30. cd ../../../../ # release dir
  31.  
  32. else
  33. echo "Skipping browser client build"
  34. cd ../../../../
  35. fi
  36.  
  37. [...]
Advertisement
Add Comment
Please, Sign In to add comment