Fix mvn build issue
[sdc.git] / catalog-ui / build_catalog_ui.bat
1
2 rem nvmw use v0.12.4
3 echo "configure proxy for ATT"
4 call npm config set proxy http://one.proxy.att.com:8080
5
6 echo "npm cache clean"
7 call npm cache clean
8
9 echo "npm install"
10 call npm install
11
12 if %errorlevel% NEQ 0 GOTO BAD_EXIT
13
14 echo "npm run build:prod"
15 npm run build:prod
16
17 if %errorlevel% NEQ 0 GOTO BAD_EXIT
18
19 GOTO SMOOTH
20
21 :BAD_EXIT
22 echo BOO
23 exit /b 1
24
25
26 :SMOOTH
27 echo "OK."
28 exit /b 0