aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 9260540..677f1b6 100644
--- a/Makefile
+++ b/Makefile
@@ -5,5 +5,8 @@ ELM_MESSAGES_MODULE=client/src/Messages.elm
build:
cd server && stack build
+server: build
+ cd server && stack exec cafp-server
+
$(ELM_MESSAGES_MODULE): $(HS_SOURCES)
(cd server && stack exec cafp-generate-elm-types) >$(ELM_MESSAGES_MODULE)