From 0c53b2fcb815577f78879f88430a33a4d053d85e Mon Sep 17 00:00:00 2001 From: patrick brisbin Date: Wed, 19 Aug 2020 09:46:28 -0400 Subject: [PATCH] Add nightly target to Makefile --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Makefile b/Makefile index 5792027..845d264 100644 --- a/Makefile +++ b/Makefile @@ -32,6 +32,16 @@ lint: stack exec hlint src test stack exec weeder . +.PHONY: nightly +nightly: + stack setup --stack-yaml stack-nightly.yaml --resolver nightly + stack build --stack-yaml stack-nightly.yaml --resolver nightly \ + --test --no-run-tests --bench --no-run-benchmarks \ + --dependencies-only + stack build --stack-yaml stack-nightly.yaml --resolver nightly \ + --test --no-run-tests --bench --no-run-benchmarks \ + --fast --pedantic + .PHONY: clean clean: stack clean