diff options
author | OzoneGrif | 2020-02-08 04:44:24 +0100 |
---|---|---|
committer | GitHub | 2020-02-08 04:44:24 +0100 |
commit | 2480140446e01c8cd0e317016c6debde5f14e8ab (patch) | |
tree | fad5625537d1213fd29ad138e2e0b5e51de35ecd /compiler | |
parent | 8facee21e8c60d14257afae13b69f30fb87e2b4b (diff) | |
parent | d2ed5f271f49822c9e87058673a006ac80a73876 (diff) | |
download | ldgallery-2480140446e01c8cd0e317016c6debde5f14e8ab.tar.gz |
Merge pull request #96 from pacien/oz-minor-script-update
compiler: minor improvements to the CMD scripts
Diffstat (limited to 'compiler')
-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 | ||