A simple blogging platform with Haskell and Scotty
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.

27 lines
283B

  1. .PHONY: setup
  2. setup:
  3. stack setup
  4. .PHONY: build
  5. build:
  6. stack build
  7. .PHONY: ghci
  8. ghci:
  9. stack ghci
  10. .PHONY: dev
  11. dev:
  12. stack build --fast --file-watch
  13. .PHONY: run
  14. run:
  15. stack build && stack exec -- hablog http --port 8000
  16. .PHONY: clean
  17. clean:
  18. stack clean && rm -r .stack-work