blob: b00ee0875b8b45c4362f750a4e751d45ea60c716 [file] [log] [blame]
Michael Lando451a3402017-02-19 10:28:42 +02001
2rem nvmw use v0.12.4
Michael Landoed64b5e2017-06-09 03:19:04 +03003echo "configure proxy for ATT"
4call npm config set proxy http://one.proxy.att.com:8080
5
6echo "npm cache clean"
7call npm cache clean
Michael Lando451a3402017-02-19 10:28:42 +02008
9echo "npm install"
10call npm install
11
12if %errorlevel% NEQ 0 GOTO BAD_EXIT
13
Michael Landoed64b5e2017-06-09 03:19:04 +030014echo "npm run build:prod"
15npm run build:prod
Michael Lando451a3402017-02-19 10:28:42 +020016
17if %errorlevel% NEQ 0 GOTO BAD_EXIT
18
19GOTO SMOOTH
20
Michael Lando451a3402017-02-19 10:28:42 +020021:BAD_EXIT
22echo BOO
Michael Landoed64b5e2017-06-09 03:19:04 +030023exit /b 1
Michael Lando451a3402017-02-19 10:28:42 +020024
25
26:SMOOTH
27echo "OK."
28exit /b 0