From d2ed5f271f49822c9e87058673a006ac80a73876 Mon Sep 17 00:00:00 2001 From: Zero~Informatique Date: Sat, 8 Feb 2020 04:37:22 +0100 Subject: compiler: minor improvements to the CMD scripts --- compiler/win_compile_example.cmd | 11 +++++------ compiler/win_help.cmd | 4 ++++ 2 files changed, 9 insertions(+), 6 deletions(-) create mode 100644 compiler/win_help.cmd (limited to 'compiler') 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 @@ @echo off SET rebuild=--rebuild -CHOICE /M "Rebuild all?" +CHOICE /M "Rebuild all ('--rebuild' argument)?" 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 + +@echo on +stack exec ldgallery-compiler-exe -- %rebuild% --clean-output -i=../example/ -o=../example/out/ +@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 @@ +@echo off +stack exec ldgallery-compiler-exe -- --help +@echo. +@pause -- cgit v1.2.3