aboutsummaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
authorZero~Informatique2020-02-08 04:37:22 +0100
committerZero~Informatique2020-02-08 04:38:37 +0100
commitd2ed5f271f49822c9e87058673a006ac80a73876 (patch)
treefad5625537d1213fd29ad138e2e0b5e51de35ecd /compiler
parent8facee21e8c60d14257afae13b69f30fb87e2b4b (diff)
downloadldgallery-d2ed5f271f49822c9e87058673a006ac80a73876.tar.gz
compiler: minor improvements to the CMD scripts
Diffstat (limited to 'compiler')
-rw-r--r--compiler/win_compile_example.cmd11
-rw-r--r--compiler/win_help.cmd4
2 files changed, 9 insertions, 6 deletions
diff --git a/compiler/win_compile_example.cmd b/compiler/win_compile_example.cmd
index f5ef2e2..6e166f8 100644
--- a/compiler/win_compile_example.cmd
+++ b/compiler/win_compile_example.cmd
@@ -1,10 +1,9 @@
1@echo off 1@echo off
2SET rebuild=--rebuild 2SET rebuild=--rebuild
3CHOICE /M "Rebuild all?" 3CHOICE /M "Rebuild all ('--rebuild' argument)?"
4IF ERRORLEVEL 2 SET rebuild= 4IF ERRORLEVEL 2 SET rebuild=
5echo. 5echo.
6echo stack exec ldgallery-compiler-exe -- %rebuild% -i=../example/ -o=../example/out/ 6
7echo. 7@echo on
8stack exec ldgallery-compiler-exe -- %rebuild% -i=../example/ -o=../example/out/ 8stack exec ldgallery-compiler-exe -- %rebuild% --clean-output -i=../example/ -o=../example/out/
9echo. 9@pause
10pause
diff --git a/compiler/win_help.cmd b/compiler/win_help.cmd
new file mode 100644
index 0000000..d720f65
--- /dev/null
+++ b/compiler/win_help.cmd
@@ -0,0 +1,4 @@
1@echo off
2stack exec ldgallery-compiler-exe -- --help
3@echo.
4@pause