diff options
author | Jasper Van der Jeugt | 2020-07-30 19:42:26 +0200 |
---|---|---|
committer | Jasper Van der Jeugt | 2020-07-30 19:42:26 +0200 |
commit | 3b7d11c6182b8aa3d3d4f9e36c213e4eba6c8d8f (patch) | |
tree | efbf3a064adefa8cc1228edec835d7403068e779 /Makefile | |
parent | fe56ddfbd14b3e7fbaee8732641bcc00fbd0c856 (diff) |
Add cards from CardsAgainstCryptography
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 16 |
1 files changed, 14 insertions, 2 deletions
@@ -3,7 +3,11 @@ ELM_SOURCES=$(shell find client/src -name '*.elm') ELM_MESSAGES_SOURCE=client/src/Messages.elm .PHONY: build -build: server/assets/client.js server/assets/client.html +build: server/assets/client.js \ + server/assets/client.html \ + server/assets/style.css \ + server/assets/black.txt \ + server/assets/white.txt server: build cd server && stack exec cafp-server @@ -20,5 +24,13 @@ server/assets/client.js: $(ELM_MESSAGES_SOURCE) $(ELM_SOURCES) cd client && elm make src/Client.elm --output=../server/assets/client.js server/assets/client.html: client/index.html - mkdir -p server/assets cp client/index.html $@ + +server/assets/style.css: client/style.css + cp $< $@ + +server/assets/black.txt: black.txt + cp $< $@ + +server/assets/white.txt: white.txt + cp $< $@ |