diff options
author | Jasper Van der Jeugt | 2020-07-28 23:25:57 +0200 |
---|---|---|
committer | Jasper Van der Jeugt | 2020-07-28 23:25:57 +0200 |
commit | 125a792ec885d16fc0e41751d073caf2da9f2301 (patch) | |
tree | 607c34616ba7b6473b5a8ab1cf22c93acf78f292 /Makefile | |
parent | f9716e24c2b41cfc416e227b275e2ae15866a370 (diff) |
Mess around
Diffstat (limited to 'Makefile')
-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) |