blob: 92605409806efd3f7ded566a003810920ca49b68 (
plain)
1
2
3
4
5
6
7
8
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)
|