chiark / gitweb /
I'm sick of repeatedly adding and removing local changes to Recipe
authorSimon Tatham <anakin@pobox.com>
Sat, 5 Aug 2006 17:20:29 +0000 (17:20 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 5 Aug 2006 17:20:29 +0000 (17:20 +0000)
commitcf880225edb1b6a5cb27dec01ba54c61822788f2
tree9f01b0c0b35023619044a5e08e69e3978fe6e5cd
parentf05c25347d66821d928668a7e87dffbf3ffed027
I'm sick of repeatedly adding and removing local changes to Recipe
when testing a new game, so here's a new architecture for the Recipe
file. mkfiles.pl now supports several new features:

 - an `!include' directive, which accepts wildcards
 - += to append to an existing object group definition
 - the ability to divert output to an arbitrary file.

So now each puzzle has a `.R' file containing a fragment of Recipe
code describing that puzzle, and the central Recipe does `!include
*.R' to construct the Makefiles. That way, I can keep as many
experimental half-finished puzzles lying around my working directory
as I like, and I won't have to keep reverting Recipe when I check in
any other changes.

As part of this change, list.c is no longer a version-controlled
file; it's now constructed by mkfiles.pl, so that it too can take
advantage of this mechanism.

[originally from svn r6781]
30 files changed:
CHECKLST.txt
Recipe
blackbox.R [new file with mode: 0644]
bridges.R [new file with mode: 0644]
cube.R [new file with mode: 0644]
devel.but
dominosa.R [new file with mode: 0644]
fifteen.R [new file with mode: 0644]
flip.R [new file with mode: 0644]
guess.R [new file with mode: 0644]
inertia.R [new file with mode: 0644]
lightup.R [new file with mode: 0644]
list.c [deleted file]
loopy.R [new file with mode: 0644]
map.R [new file with mode: 0644]
mines.R [new file with mode: 0644]
mkfiles.pl
net.R [new file with mode: 0644]
netslide.R [new file with mode: 0644]
nullgame.R [new file with mode: 0644]
pattern.R [new file with mode: 0644]
pegs.R [new file with mode: 0644]
rect.R [new file with mode: 0644]
samegame.R [new file with mode: 0644]
sixteen.R [new file with mode: 0644]
slant.R [new file with mode: 0644]
solo.R [new file with mode: 0644]
tents.R [new file with mode: 0644]
twiddle.R [new file with mode: 0644]
untangle.R [new file with mode: 0644]