Currently make doesn't regenerate testdata/*/sysl.json from testdata/*/*.sysl, meaning tests don't necessarily run against the latest generated code following changes to the Sysl specs.
This solution is not good Makefile style, but it fixes the problem. The whole make system in sysl-go needs an overhaul, so I'm not keen to take on the whole thing for this fix.
Fixes #177
Currently make doesn't regenerate
testdata/*/sysl.json
fromtestdata/*/*.sysl
, meaning tests don't necessarily run against the latest generated code following changes to the Sysl specs.This solution is not good Makefile style, but it fixes the problem. The whole make system in sysl-go needs an overhaul, so I'm not keen to take on the whole thing for this fix.