diff options
-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 | ||