Signed-off-by: Bill Erickson <berickxx@gmail.com>
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