From 16ff1c8a3c1be0298a9732ed272c7ba02e2cd9d0 Mon Sep 17 00:00:00 2001 From: Zero~Informatique Date: Sat, 2 May 2020 02:18:22 +0200 Subject: travis: renamed unwated scripts to remove them from the release --- scripts/dev_win_build.cmd | 5 +++++ scripts/dev_win_compile_example.cmd | 10 +++++++++ scripts/dev_win_start_vueui.cmd | 44 +++++++++++++++++++++++++++++++++++++ scripts/win_build.cmd | 5 ----- scripts/win_compile_example.cmd | 10 --------- scripts/win_start_vueui.cmd | 44 ------------------------------------- 6 files changed, 59 insertions(+), 59 deletions(-) create mode 100644 scripts/dev_win_build.cmd create mode 100644 scripts/dev_win_compile_example.cmd create mode 100644 scripts/dev_win_start_vueui.cmd delete mode 100644 scripts/win_build.cmd delete mode 100644 scripts/win_compile_example.cmd delete mode 100644 scripts/win_start_vueui.cmd diff --git a/scripts/dev_win_build.cmd b/scripts/dev_win_build.cmd new file mode 100644 index 0000000..ed96211 --- /dev/null +++ b/scripts/dev_win_build.cmd @@ -0,0 +1,5 @@ +@echo off +cd ..\compiler\ +stack setup +stack build +pause \ No newline at end of file diff --git a/scripts/dev_win_compile_example.cmd b/scripts/dev_win_compile_example.cmd new file mode 100644 index 0000000..35134c0 --- /dev/null +++ b/scripts/dev_win_compile_example.cmd @@ -0,0 +1,10 @@ +@echo off +SET rebuild=--rebuild +CHOICE /M "Rebuild all ('--rebuild' argument)?" +IF ERRORLEVEL 2 SET rebuild= +echo. +cd ..\compiler\ + +@echo on +stack exec ldgallery -- %rebuild% --clean-output -i=../example/src/ -o=../example/out/ +@pause 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 @@ +@echo off +set NODE_VERSION=12.16.1 +set VUECLI_VERSION=4.2.3 +cd ..\viewer\ + +chcp 65001 +echo. +echo === nvm install === +nvm install %NODE_VERSION% +nvm list | find /i "%NODE_VERSION% (Currently" +if errorlevel 1 ( + echo. + echo === nvm use %NODE_VERSION% === + nvm use %NODE_VERSION% + + echo. + echo === npm install @vue/cli@%VUECLI_VERSION% === + ping localhost -n 3 >NUL + cmd /c npm install -g @vue/cli@%VUECLI_VERSION% +) +echo. +vue --version | find /i "%VUECLI_VERSION%" +if errorlevel 1 ( + echo ====================================================================== + echo Warning: vue/cli doesn't match the requested version: %VUECLI_VERSION% + echo. + echo CTRL+C to quit and update, or press a key to ignore this warning... + echo ====================================================================== + echo. + pause +) +echo. +echo === npm install === +cmd /c npm install +echo. +echo === npm prune === +cmd /c npm prune +echo. +echo === npm dedupe === +cmd /c npm dedupe +echo. +echo === vue ui === +title Vue UI - server +vue ui diff --git a/scripts/win_build.cmd b/scripts/win_build.cmd deleted file mode 100644 index ed96211..0000000 --- a/scripts/win_build.cmd +++ /dev/null @@ -1,5 +0,0 @@ -@echo off -cd ..\compiler\ -stack setup -stack build -pause \ No newline at end of file diff --git a/scripts/win_compile_example.cmd b/scripts/win_compile_example.cmd deleted file mode 100644 index 35134c0..0000000 --- a/scripts/win_compile_example.cmd +++ /dev/null @@ -1,10 +0,0 @@ -@echo off -SET rebuild=--rebuild -CHOICE /M "Rebuild all ('--rebuild' argument)?" -IF ERRORLEVEL 2 SET rebuild= -echo. -cd ..\compiler\ - -@echo on -stack exec ldgallery -- %rebuild% --clean-output -i=../example/src/ -o=../example/out/ -@pause diff --git a/scripts/win_start_vueui.cmd b/scripts/win_start_vueui.cmd deleted file mode 100644 index e1a124d..0000000 --- a/scripts/win_start_vueui.cmd +++ /dev/null @@ -1,44 +0,0 @@ -@echo off -set NODE_VERSION=12.16.1 -set VUECLI_VERSION=4.2.3 -cd ..\viewer\ - -chcp 65001 -echo. -echo === nvm install === -nvm install %NODE_VERSION% -nvm list | find /i "%NODE_VERSION% (Currently" -if errorlevel 1 ( - echo. - echo === nvm use %NODE_VERSION% === - nvm use %NODE_VERSION% - - echo. - echo === npm install @vue/cli@%VUECLI_VERSION% === - ping localhost -n 3 >NUL - cmd /c npm install -g @vue/cli@%VUECLI_VERSION% -) -echo. -vue --version | find /i "%VUECLI_VERSION%" -if errorlevel 1 ( - echo ====================================================================== - echo Warning: vue/cli doesn't match the requested version: %VUECLI_VERSION% - echo. - echo CTRL+C to quit and update, or press a key to ignore this warning... - echo ====================================================================== - echo. - pause -) -echo. -echo === npm install === -cmd /c npm install -echo. -echo === npm prune === -cmd /c npm prune -echo. -echo === npm dedupe === -cmd /c npm dedupe -echo. -echo === vue ui === -title Vue UI - server -vue ui -- cgit v1.2.3