🐙 Templated web page generator for your git repositories
git clone https://github.com/m-col/gitja
Files | Refs | Readme | License

Commit 70ec51fc60668e0650b34d95a7f9fba448b47bd9
Parent: ebfb8b9ea84e5080699f575722631100343d59ce
Author: mcol <mcol@posteo.net>
Date: 2022-04-05 20:54:09 +0100
Committer: mcol <mcol@posteo.net>
Committed: 2022-04-05 20:54:09 +0100

add optimise flag make prod command

Makefile Modified

@@ -38,5 +38,9 @@
 test: ## Run the "tests"
 	bash ./test/test.sh
 
+.PHONY: prod
+prod: ## Build with optimise flags
+	@stack build --ghc-options="-O"
+
 .PHONY: all
 all: format lint rebuild run test ## Lint, format, rebuild, run, test