Build angular

Transactions
Dan 2017-11-03 10:36:57 -06:00
parent a0eae3a511
commit 3e6c32b0d5
1 changed files with 4 additions and 3 deletions

View File

@ -16,14 +16,11 @@ fi
if [ "$BRANCH" = master ]; then
cd /home/ofbbutte/webapps/ofb_angular/
fi
ls
echo "Node Version"
bin/node --version
echo "NPM Version"
bin/node bin/npm --version
echo "Angular CLI Version"
bin/node tempcheckout/Client/node_modules/@angular/cli/bin/ng --version
if [ "$BUILD_ANGULAR" = true ]; then
cd tempcheckout/Client
@ -40,6 +37,10 @@ else
echo "Skipping Building Angular Application"
fi
echo "Angular CLI Version"
bin/node tempcheckout/Client/node_modules/@angular/cli/bin/ng --version
cd tempcheckout/Server/src
echo "Pruning Server Node Modules"
../../../bin/node ../../../bin/npm prune --silent