aboutsummaryrefslogtreecommitdiff
path: root/scripts/dev_win_start_vueui.cmd
diff options
context:
space:
mode:
authorZero~Informatique2020-05-02 02:18:22 +0200
committerZero~Informatique2020-05-02 02:18:22 +0200
commit16ff1c8a3c1be0298a9732ed272c7ba02e2cd9d0 (patch)
treeefaa6e37c671a102f20f020ec01fbb26fc30179f /scripts/dev_win_start_vueui.cmd
parentd95fcce9966998320df4b7f93e12479ae55e25e7 (diff)
downloadldgallery-16ff1c8a3c1be0298a9732ed272c7ba02e2cd9d0.tar.gz
travis: renamed unwated scripts to remove them from the release
Diffstat (limited to 'scripts/dev_win_start_vueui.cmd')
-rw-r--r--scripts/dev_win_start_vueui.cmd44
1 files changed, 44 insertions, 0 deletions
diff --git a/scripts/dev_win_start_vueui.cmd b/scripts/dev_win_start_vueui.cmd
new file mode 100644
index 0000000..e1a124d
--- /dev/null
+++ b/scripts/dev_win_start_vueui.cmd
@@ -0,0 +1,44 @@
1@echo off
2set NODE_VERSION=12.16.1
3set VUECLI_VERSION=4.2.3
4cd ..\viewer\
5
6chcp 65001
7echo.
8echo === nvm install ===
9nvm install %NODE_VERSION%
10nvm list | find /i "%NODE_VERSION% (Currently"
11if errorlevel 1 (
12 echo.
13 echo === nvm use %NODE_VERSION% ===
14 nvm use %NODE_VERSION%
15
16 echo.
17 echo === npm install @vue/cli@%VUECLI_VERSION% ===
18 ping localhost -n 3 >NUL
19 cmd /c npm install -g @vue/cli@%VUECLI_VERSION%
20)
21echo.
22vue --version | find /i "%VUECLI_VERSION%"
23if errorlevel 1 (
24 echo ======================================================================
25 echo Warning: vue/cli doesn't match the requested version: %VUECLI_VERSION%
26 echo.
27 echo CTRL+C to quit and update, or press a key to ignore this warning...
28 echo ======================================================================
29 echo.
30 pause
31)
32echo.
33echo === npm install ===
34cmd /c npm install
35echo.
36echo === npm prune ===
37cmd /c npm prune
38echo.
39echo === npm dedupe ===
40cmd /c npm dedupe
41echo.
42echo === vue ui ===
43title Vue UI - server
44vue ui