Build angular
parent
a0eae3a511
commit
3e6c32b0d5
|
|
@ -16,14 +16,11 @@ fi
|
||||||
if [ "$BRANCH" = master ]; then
|
if [ "$BRANCH" = master ]; then
|
||||||
cd /home/ofbbutte/webapps/ofb_angular/
|
cd /home/ofbbutte/webapps/ofb_angular/
|
||||||
fi
|
fi
|
||||||
ls
|
|
||||||
|
|
||||||
echo "Node Version"
|
echo "Node Version"
|
||||||
bin/node --version
|
bin/node --version
|
||||||
echo "NPM Version"
|
echo "NPM Version"
|
||||||
bin/node bin/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
|
if [ "$BUILD_ANGULAR" = true ]; then
|
||||||
cd tempcheckout/Client
|
cd tempcheckout/Client
|
||||||
|
|
@ -40,6 +37,10 @@ else
|
||||||
echo "Skipping Building Angular Application"
|
echo "Skipping Building Angular Application"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
echo "Angular CLI Version"
|
||||||
|
bin/node tempcheckout/Client/node_modules/@angular/cli/bin/ng --version
|
||||||
|
|
||||||
cd tempcheckout/Server/src
|
cd tempcheckout/Server/src
|
||||||
echo "Pruning Server Node Modules"
|
echo "Pruning Server Node Modules"
|
||||||
../../../bin/node ../../../bin/npm prune --silent
|
../../../bin/node ../../../bin/npm prune --silent
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue