more output for troubleshooting
authorJason Etheridge <jason@equinoxinitiative.org>
Fri, 7 Sep 2018 19:44:23 +0000 (15:44 -0400)
committerJason Etheridge <jason@equinoxinitiative.org>
Fri, 7 Sep 2018 19:44:23 +0000 (15:44 -0400)
installer/wheezy/eg_wheezy_installer.sh

index 3a6d7b0..9e08417 100755 (executable)
@@ -398,26 +398,33 @@ function test_evergreen_build {
 # Run it as a standalone operation for now.
 function test_and_build_eg_browser_client {
     echo _.-~= Running Evergreen browser client build/test
-    cd /home/opensrf
+    cd /home/opensrf && pwd
     wget -N $NODEJS_BINARY
     tar xf $NODEJS_TARBIN
     echo Return Value = $?
     export PATH=$PATH:/home/opensrf/$NODEJS_BINDIR/bin
     echo Return Value = $?
+    echo Running npm update
     npm update
     echo Return Value = $?
-    cd /home/opensrf/Evergreen/Open-ILS/web/js/ui/default/staff
+    cd /home/opensrf/Evergreen/Open-ILS/web/js/ui/default/staff && pwd
+    echo Running npm install
     npm install                 # fetch build depencies
     echo Return Value = $?
+    echo Running npm run build
     npm run build                 # copy into place; use build-prod for concatenation
     echo Return Value = $?
+    echo Running npm test
     npm run test                  # run JS unit tests
     echo Return Value = $?
-    cd /home/opensrf/Evergreen/Open-ILS/src/eg2/
+    cd /home/opensrf/Evergreen/Open-ILS/src/eg2/ && pwd
+    echo Running npm install
     npm install                 # fetch build depencies
     echo Return Value = $?
+    echo Running ng build --prod
     ng build --prod             # for ang6
     echo Return Value = $?
+    echo Running npm test
     npm run test                  # run JS unit tests
     echo Return Value = $?
     echo End of Evergreen browser client build/test =~-._