aboutsummaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
authorZero~Informatique2020-01-07 19:46:41 +0100
committerZero~Informatique2020-01-07 19:46:41 +0100
commitc7153c8d6d3879566b49af0f7b23593d46477eb9 (patch)
tree3e6d0c639b1fefd115322edac7638a5093ee8c15 /compiler
parente3a5a52114880bdabf62cb205ec01374a93a28bd (diff)
downloadldgallery-c7153c8d6d3879566b49af0f7b23593d46477eb9.tar.gz
viewer: relative gallery path (NOT STABLE with current compiler)
compiler: commands for compilation on Windows
Diffstat (limited to 'compiler')
-rw-r--r--compiler/win_build.cmd4
-rw-r--r--compiler/win_compile_example.cmd10
2 files changed, 14 insertions, 0 deletions
diff --git a/compiler/win_build.cmd b/compiler/win_build.cmd
new file mode 100644
index 0000000..33559fa
--- /dev/null
+++ b/compiler/win_build.cmd
@@ -0,0 +1,4 @@
1@echo off
2stack setup
3stack build
4pause \ No newline at end of file
diff --git a/compiler/win_compile_example.cmd b/compiler/win_compile_example.cmd
new file mode 100644
index 0000000..f5ef2e2
--- /dev/null
+++ b/compiler/win_compile_example.cmd
@@ -0,0 +1,10 @@
1@echo off
2SET rebuild=--rebuild
3CHOICE /M "Rebuild all?"
4IF ERRORLEVEL 2 SET rebuild=
5echo.
6echo stack exec ldgallery-compiler-exe -- %rebuild% -i=../example/ -o=../example/out/
7echo.
8stack exec ldgallery-compiler-exe -- %rebuild% -i=../example/ -o=../example/out/
9echo.
10pause