From 5cec197d39911a4f9d1a4ca98da5edbba12bc8c1 Mon Sep 17 00:00:00 2001 From: Adrian Sieber <mail@adriansieber.com> Date: Fri, 3 May 2024 08:47:15 +0000 Subject: [PATCH] AirGQL: Add make targets release & docs, set hash of first commit --- makefile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) 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 \ + .