From c7153c8d6d3879566b49af0f7b23593d46477eb9 Mon Sep 17 00:00:00 2001 From: Zero~Informatique Date: Tue, 7 Jan 2020 19:46:41 +0100 Subject: viewer: relative gallery path (NOT STABLE with current compiler) compiler: commands for compilation on Windows --- compiler/win_build.cmd | 4 ++++ compiler/win_compile_example.cmd | 10 ++++++++++ 2 files changed, 14 insertions(+) create mode 100644 compiler/win_build.cmd create mode 100644 compiler/win_compile_example.cmd (limited to 'compiler') 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 @@ +@echo off +stack setup +stack build +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 @@ +@echo off +SET rebuild=--rebuild +CHOICE /M "Rebuild all?" +IF ERRORLEVEL 2 SET rebuild= +echo. +echo stack exec ldgallery-compiler-exe -- %rebuild% -i=../example/ -o=../example/out/ +echo. +stack exec ldgallery-compiler-exe -- %rebuild% -i=../example/ -o=../example/out/ +echo. +pause -- cgit v1.2.3