From: Bill Erickson Date: Thu, 11 Sep 2014 21:33:36 +0000 (-0400) Subject: browser client build/test cont X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=c65ceb8f7d11e98aaac411412192e7ccf02fb523;p=working%2Frandom.git browser client build/test cont Signed-off-by: Bill Erickson --- diff --git a/installer/wheezy/eg_wheezy_installer.sh b/installer/wheezy/eg_wheezy_installer.sh index 419d7dba0..364a2d0aa 100755 --- a/installer/wheezy/eg_wheezy_installer.sh +++ b/installer/wheezy/eg_wheezy_installer.sh @@ -377,8 +377,16 @@ function test_and_build_eg_browser_client { cd /home/opensrf/Evergreen/Open-ILS/web/js/ui/default/staff npm install # fetch build depencies echo Return Value = $? - bower --allow-root install # fetch JS/CSS/etc prereqs + + # fetch JS/CSS/etc prereqs + if [ $YES ]; then + # yes == allow sending package stats + yes | bower --allow-root install + else + bower --allow-root install + fi echo Return Value = $? + grunt build # concatentate, minify, copy into place echo Return Value = $? grunt test # run JS unit tests