From 125a792ec885d16fc0e41751d073caf2da9f2301 Mon Sep 17 00:00:00 2001 From: Jasper Van der Jeugt Date: Tue, 28 Jul 2020 23:25:57 +0200 Subject: Mess around --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 90142d8..9260540 100644 --- a/Makefile +++ b/Makefile @@ -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) -- cgit v1.2.3