Commit 345cebf9b1c456f24ff85c4e6924008eac30730e Parent: 8899150c322bb51c6ccbd621adf19529f9f08527 Author: mcol <mcol@posteo.net> Date: 2022-04-06 01:53:07 +0100 Committer: mcol <mcol@posteo.net> Committed: 2022-04-06 01:57:24 +0100 add make prof to makefile
Makefile Modified
@@ -42,5 +42,12 @@ prod: ## Build with optimise flags @stack build --ghc-options="-O" +.PHONY: prof +prof: ## Build with profiling enabled + @stack build --profile + @rm -r output + @stack exec --profile -- gitserve +RTS -p + @head -n 6 gitserve.prof + .PHONY: all all: format lint rebuild run test ## Lint, format, rebuild, run, test