You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
445B

  1. .PHONY: setup
  2. setup:
  3. stack setup
  4. .PHONY: build
  5. build:
  6. stack build --ghc-options='-Werror'
  7. .PHONY: dev
  8. dev:
  9. stack build --fast --file-watch
  10. .PHONY: exec
  11. exec:
  12. stack build && stack exec app
  13. .PHONY: run
  14. run:
  15. stack build && stack exec app -- +RTS -sstderr
  16. .PHONY: profile
  17. profile:
  18. stack build --profile && stack exec app -- +RTS -sstderr -p -hc && stack exec -- hp2ps -c app.hp && evince app.ps
  19. .PHONY: clean
  20. clean:
  21. stack clean