diff --git a/makefile b/makefile index 76e1b7e..646b9c8 100644 --- a/makefile +++ b/makefile @@ -10,3 +10,24 @@ install: stack \ --stack-yaml stack-standalone.yaml \ install + + +.PHONY: docs +docs: + stack \ + --stack-yaml stack-standalone.yaml \ + haddock \ + --haddock-for-hackage + + +.PHONY: release +release: docs + stack \ + --stack-yaml stack-standalone.yaml \ + upload \ + . + stack \ + --stack-yaml stack-standalone.yaml \ + upload \ + --documentation \ + .