summaryrefslogtreecommitdiffstats
path: root/catalog-ui/build_catalog_ui.bat
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-ui/build_catalog_ui.bat')
-rw-r--r--catalog-ui/build_catalog_ui.bat29
1 files changed, 29 insertions, 0 deletions
diff --git a/catalog-ui/build_catalog_ui.bat b/catalog-ui/build_catalog_ui.bat
new file mode 100644
index 0000000000..7a153e9ae7
--- /dev/null
+++ b/catalog-ui/build_catalog_ui.bat
@@ -0,0 +1,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