diff options
author | pacien | 2022-09-04 18:18:27 +0200 |
---|---|---|
committer | pacien | 2022-09-04 18:18:27 +0200 |
commit | 11bbbae2850b9c45da697a8ed9626495a50a38c0 (patch) | |
tree | ff2713118f8b45d36905bfea2933f08d8e70066d /scripts | |
parent | e93f7b1eb84c083d67567115284c0002a3a7d5fc (diff) | |
parent | 8349be992b46b77dee921f484cfbff8b758ff756 (diff) | |
download | ldgallery-2.1.tar.gz |
Merge branch 'develop': release v2.1v2.1
GitHub: related to #315
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/dev_win_build.cmd | 5 | ||||
-rw-r--r-- | scripts/dev_win_compiler_build.cmd | 5 | ||||
-rw-r--r-- | scripts/dev_win_compiler_compile_example.cmd (renamed from scripts/dev_win_compile_example.cmd) | 0 | ||||
-rw-r--r-- | scripts/dev_win_compiler_help.cmd (renamed from scripts/dev_win_help.cmd) | 0 | ||||
-rw-r--r-- | scripts/dev_win_start_vueui.cmd | 44 | ||||
-rw-r--r-- | scripts/dev_win_viewer_deps_install.cmd | 22 |
6 files changed, 27 insertions, 49 deletions
diff --git a/scripts/dev_win_build.cmd b/scripts/dev_win_build.cmd deleted file mode 100644 index ed96211..0000000 --- a/scripts/dev_win_build.cmd +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | @echo off | ||
2 | cd ..\compiler\ | ||
3 | stack setup | ||
4 | stack build | ||
5 | pause \ No newline at end of file | ||
diff --git a/scripts/dev_win_compiler_build.cmd b/scripts/dev_win_compiler_build.cmd new file mode 100644 index 0000000..d88aa5d --- /dev/null +++ b/scripts/dev_win_compiler_build.cmd | |||
@@ -0,0 +1,5 @@ | |||
1 | @echo off | ||
2 | cd ..\compiler\ | ||
3 | stack setup | ||
4 | stack build --flag ldgallery-compiler:portable --copy-bins --local-bin-path dist | ||
5 | pause | ||
diff --git a/scripts/dev_win_compile_example.cmd b/scripts/dev_win_compiler_compile_example.cmd index 35134c0..35134c0 100644 --- a/scripts/dev_win_compile_example.cmd +++ b/scripts/dev_win_compiler_compile_example.cmd | |||
diff --git a/scripts/dev_win_help.cmd b/scripts/dev_win_compiler_help.cmd index f0bdb98..f0bdb98 100644 --- a/scripts/dev_win_help.cmd +++ b/scripts/dev_win_compiler_help.cmd | |||
diff --git a/scripts/dev_win_start_vueui.cmd b/scripts/dev_win_start_vueui.cmd deleted file mode 100644 index e1a124d..0000000 --- a/scripts/dev_win_start_vueui.cmd +++ /dev/null | |||
@@ -1,44 +0,0 @@ | |||
1 | @echo off | ||
2 | set NODE_VERSION=12.16.1 | ||
3 | set VUECLI_VERSION=4.2.3 | ||
4 | cd ..\viewer\ | ||
5 | |||
6 | chcp 65001 | ||
7 | echo. | ||
8 | echo === nvm install === | ||
9 | nvm install %NODE_VERSION% | ||
10 | nvm list | find /i "%NODE_VERSION% (Currently" | ||
11 | if 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 | ) | ||
21 | echo. | ||
22 | vue --version | find /i "%VUECLI_VERSION%" | ||
23 | if 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 | ) | ||
32 | echo. | ||
33 | echo === npm install === | ||
34 | cmd /c npm install | ||
35 | echo. | ||
36 | echo === npm prune === | ||
37 | cmd /c npm prune | ||
38 | echo. | ||
39 | echo === npm dedupe === | ||
40 | cmd /c npm dedupe | ||
41 | echo. | ||
42 | echo === vue ui === | ||
43 | title Vue UI - server | ||
44 | vue ui | ||
diff --git a/scripts/dev_win_viewer_deps_install.cmd b/scripts/dev_win_viewer_deps_install.cmd new file mode 100644 index 0000000..9e2330d --- /dev/null +++ b/scripts/dev_win_viewer_deps_install.cmd | |||
@@ -0,0 +1,22 @@ | |||
1 | @echo off | ||
2 | set NODE_VERSION=12.22.2 | ||
3 | cd ..\viewer\ | ||
4 | |||
5 | chcp 65001 | ||
6 | echo. | ||
7 | echo === nvm install === | ||
8 | nvm install %NODE_VERSION% | ||
9 | nvm list | find /i "%NODE_VERSION% (Currently" | ||
10 | if errorlevel 1 ( | ||
11 | echo. | ||
12 | echo === nvm use %NODE_VERSION% === | ||
13 | nvm use %NODE_VERSION% | ||
14 | |||
15 | ping localhost -n 3 >NUL | ||
16 | cmd /c npm install -g yarn | ||
17 | ) | ||
18 | echo. | ||
19 | echo === yarn deps === | ||
20 | cmd /c rmdir /s /q .\node_modules\ | ||
21 | cmd /c yarn | ||
22 | echo. | ||