diff options
author | Zero~Informatique | 2020-01-07 19:46:41 +0100 |
---|---|---|
committer | Zero~Informatique | 2020-01-07 19:46:41 +0100 |
commit | c7153c8d6d3879566b49af0f7b23593d46477eb9 (patch) | |
tree | 3e6d0c639b1fefd115322edac7638a5093ee8c15 /compiler | |
parent | e3a5a52114880bdabf62cb205ec01374a93a28bd (diff) | |
download | ldgallery-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.cmd | 4 | ||||
-rw-r--r-- | compiler/win_compile_example.cmd | 10 |
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 | ||
2 | stack setup | ||
3 | stack build | ||
4 | pause \ 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 | ||
2 | SET rebuild=--rebuild | ||
3 | CHOICE /M "Rebuild all?" | ||
4 | IF ERRORLEVEL 2 SET rebuild= | ||
5 | echo. | ||
6 | echo stack exec ldgallery-compiler-exe -- %rebuild% -i=../example/ -o=../example/out/ | ||
7 | echo. | ||
8 | stack exec ldgallery-compiler-exe -- %rebuild% -i=../example/ -o=../example/out/ | ||
9 | echo. | ||
10 | pause | ||