diff options
author | Zero~Informatique | 2020-02-08 04:37:22 +0100 |
---|---|---|
committer | Zero~Informatique | 2020-02-08 04:38:37 +0100 |
commit | d2ed5f271f49822c9e87058673a006ac80a73876 (patch) | |
tree | fad5625537d1213fd29ad138e2e0b5e51de35ecd | |
parent | 8facee21e8c60d14257afae13b69f30fb87e2b4b (diff) | |
download | ldgallery-d2ed5f271f49822c9e87058673a006ac80a73876.tar.gz |
compiler: minor improvements to the CMD scripts
-rw-r--r-- | compiler/win_compile_example.cmd | 11 | ||||
-rw-r--r-- | compiler/win_help.cmd | 4 |
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 |
2 | SET rebuild=--rebuild | 2 | SET rebuild=--rebuild |
3 | CHOICE /M "Rebuild all?" | 3 | CHOICE /M "Rebuild all ('--rebuild' argument)?" |
4 | IF ERRORLEVEL 2 SET rebuild= | 4 | IF ERRORLEVEL 2 SET rebuild= |
5 | echo. | 5 | echo. |
6 | echo stack exec ldgallery-compiler-exe -- %rebuild% -i=../example/ -o=../example/out/ | 6 | |
7 | echo. | 7 | @echo on |
8 | stack exec ldgallery-compiler-exe -- %rebuild% -i=../example/ -o=../example/out/ | 8 | stack exec ldgallery-compiler-exe -- %rebuild% --clean-output -i=../example/ -o=../example/out/ |
9 | echo. | 9 | @pause |
10 | pause | ||
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 | ||
2 | stack exec ldgallery-compiler-exe -- --help | ||
3 | @echo. | ||
4 | @pause | ||