aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJasper Van der Jeugt2020-07-29 15:57:28 +0200
committerJasper Van der Jeugt2020-07-29 15:57:28 +0200
commit72b1de1a28c23cf694ff5f982f0f637afd4ba5bc (patch)
treed12b7bb68aa912c0845433a2ec72e399fb54ee60 /Makefile
parent125a792ec885d16fc0e41751d073caf2da9f2301 (diff)
Stub server
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)