aboutsummaryrefslogtreecommitdiff
path: root/Buildscr
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2015-11-17 18:47:29 +0000
committerSimon Tatham <anakin@pobox.com>2015-11-17 18:47:29 +0000
commit2acd8baae8e411fae3235a5ab5c25b7523e55132 (patch)
treeefacca951fb964239b10c6dee0253bdc99c00024 /Buildscr
parent13b67b9d09faf3440c0b96356d16ce841faa677f (diff)
downloadpuzzles-2acd8baae8e411fae3235a5ab5c25b7523e55132.zip
puzzles-2acd8baae8e411fae3235a5ab5c25b7523e55132.tar.gz
puzzles-2acd8baae8e411fae3235a5ab5c25b7523e55132.tar.bz2
puzzles-2acd8baae8e411fae3235a5ab5c25b7523e55132.tar.xz
Convert Buildscr to use the new "do/win" mechanism.
Diffstat (limited to 'Buildscr')
-rw-r--r--Buildscr8
1 files changed, 4 insertions, 4 deletions
diff --git a/Buildscr b/Buildscr
index 1b99d5d..a009d60 100644
--- a/Buildscr
+++ b/Buildscr
@@ -57,12 +57,12 @@ in puzzles do perl winiss.pl $(Version) gamedesc.txt > puzzles.iss
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