Milestone import support
[sdc.git] / catalog-ui / build_catalog_ui.bat
index 7a153e9..b00ee08 100644 (file)
@@ -1,27 +1,26 @@
 
 rem nvmw use v0.12.4
+echo "configure proxy for ATT"
+call npm config set proxy http://one.proxy.att.com:8080
+
+echo "npm cache clean"
+call npm cache clean
 
 echo "npm install"
 call npm install
 
 if %errorlevel% NEQ 0 GOTO BAD_EXIT
 
-echo "bower install"
-call bower install
-if %errorlevel% NEQ 0 GOTO BAD_EXIT
-
-
-echo "build --v"
-grunt build --v
+echo "npm run build:prod"
+npm run build:prod
 
 if %errorlevel% NEQ 0 GOTO BAD_EXIT
 
 GOTO SMOOTH
 
-
 :BAD_EXIT
 echo BOO
-exitb 1
+exit /b 1
 
 
 :SMOOTH