Closed MikeTaylor closed 6 years ago
This was forked off from issue #12.
Actually, this is really easy. All you need to do is run make rebuild
in two directories:
games/test
games/test/adams
I should just make a top-level target that does that.
That was pleasantly straightforward.
Some of the tests are really high-level: they are suitable for checking that nothing's been accidentally changed when performing code-surgery such as your present work on the
play
loop, but not so helpful when you actually want to change things. That's why therebuild
targets are so important.There are a few
Makefile
s spread across the project that includerebuild
targets. Perhaps the polite thing in the Ruby world would be to convert them all to Rake, but I'm not sure what it would really get us. Perhaps the big win for the small spend would be arebuild
target in the top-levelRakefile
that runs Make in all the places where the test-suite expects to find up-to-date output to compare with.(Come to think of it,
rake regenerate
would be better thanrake rebuild
.)