aboutsummaryrefslogtreecommitdiff
path: root/scripts/win_compile_example.cmd
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/win_compile_example.cmd')
-rw-r--r--scripts/win_compile_example.cmd10
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/win_compile_example.cmd b/scripts/win_compile_example.cmd
new file mode 100644
index 0000000..e89b302
--- /dev/null
+++ b/scripts/win_compile_example.cmd
@@ -0,0 +1,10 @@
1@echo off
2SET rebuild=--rebuild
3CHOICE /M "Rebuild all ('--rebuild' argument)?"
4IF ERRORLEVEL 2 SET rebuild=
5echo.
6
7@echo on
8cd ..\compiler\
9stack exec ldgallery-compiler-exe -- %rebuild% --clean-output -i=../example/ -o=../example/out/
10@pause