Initial OpenECOMP SDC commit
[sdc.git] / catalog-ui / build_catalog_ui.bat
1
2 rem nvmw use v0.12.4
3
4 echo "npm install"
5 call npm install
6
7 if %errorlevel% NEQ 0 GOTO BAD_EXIT
8
9 echo "bower install"
10 call bower install
11 if %errorlevel% NEQ 0 GOTO BAD_EXIT
12
13
14 echo "build --v"
15 grunt build --v
16
17 if %errorlevel% NEQ 0 GOTO BAD_EXIT
18
19 GOTO SMOOTH
20
21
22 :BAD_EXIT
23 echo BOO
24 exit/ b 1
25
26
27 :SMOOTH
28 echo "OK."
29 exit /b 0