anz-bank / sysl-go

Communication library used by SYSL-generated code written in Go.
Apache License 2.0
10 stars 14 forks source link

Fix generation of sysl.json files in testdata #179

Closed orlade-anz closed 4 years ago

orlade-anz commented 4 years ago

Fixes #177

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.