diff options
Diffstat (limited to '')
-rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,9 @@ +HS_SOURCES=$(shell find server/lib/ server/src -name '*.hs') +ELM_MESSAGES_MODULE=client/src/Messages.elm + .PHONY: build build: cd server && stack build + +$(ELM_MESSAGES_MODULE): $(HS_SOURCES) + (cd server && stack exec cafp-generate-elm-types) >$(ELM_MESSAGES_MODULE) |