ref: 2acd8baae8e411fae3235a5ab5c25b7523e55132
parent: 13b67b9d09faf3440c0b96356d16ce841faa677f
author: Simon Tatham <anakin@pobox.com>
date: Tue Nov 17 13:47:29 EST 2015
Convert Buildscr to use the new "do/win" mechanism.
--- a/Buildscr
+++ b/Buildscr
@@ -57,12 +57,12 @@
delegate windows
# Ignore the poorly controlled return value from HHC, and instead
# just test that the output file was generated.
- in puzzles do hhc puzzles.hhp; test -f puzzles.chm
+ in puzzles do/win hhc puzzles.hhp & type puzzles.chm >nul
# FIXME: Cygwin alternative?
- in puzzles do cmd /c 'vcvars32 & nmake -f Makefile.vc clean'
- in puzzles do cmd /c 'vcvars32 & nmake -f Makefile.vc VER=-DVER=$(Version)'
+ in puzzles do/win vcvars32 && nmake -f Makefile.vc clean
+ in puzzles do/win vcvars32 && nmake -f Makefile.vc VER=-DVER=$(Version)
# Build installer.
- in puzzles do iscc puzzles.iss
+ in puzzles do/win iscc puzzles.iss
return puzzles/puzzles.chm
return puzzles/*.exe
return puzzles/Output/setup.exe