aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/build_catalog_ui.bat
blob: 7a153e9ae7d6190a246ed3e19f3df304e777f9d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
rem nvmw use v0.12.4

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

if %errorlevel% NEQ 0 GOTO BAD_EXIT

GOTO SMOOTH


:BAD_EXIT
echo BOO
exit/ b 1


:SMOOTH
echo "OK."
exit /b 0