aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJasper Van der Jeugt2020-08-04 13:44:21 +0200
committerJasper Van der Jeugt2020-08-04 13:44:21 +0200
commit8402aeee145de98b4e7c8433975f3156f5ec0e1d (patch)
tree9fdde7a07cfc5f2c84a381e17e8a19c37d9816ea /Makefile
parentd1b1068d0c9dad94734438ddd6f5cfcec77396dd (diff)
Optimization flags
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b74289b..79dc190 100644
--- a/Makefile
+++ b/Makefile
@@ -34,7 +34,7 @@ $(ELM_MESSAGES_SOURCE): stack_build
server/assets/client.js: $(ELM_MESSAGES_SOURCE) $(ELM_SOURCES)
mkdir -p server/assets
- cd client && elm make src/Client.elm --output=../server/assets/client.js
+ cd client && elm make src/Client.elm --optimize --output=../$@
server/assets/client.html: client/index.html config.mk
sed "s@\$$CAFP_BASE@$(CAFP_BASE)@" $< >$@