From e57f90bc2cfa749bc81698de8b4393f59a5090bf Mon Sep 17 00:00:00 2001 From: patrick brisbin Date: Wed, 19 Aug 2020 09:03:34 -0400 Subject: [PATCH] Simplify Makefile, now that it's not used on CI --- Makefile | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index 08bbf62..5792027 100644 --- a/Makefile +++ b/Makefile @@ -2,36 +2,35 @@ all: setup setup.lint dependencies build test lint .PHONY: setup setup: - stack setup $(STACK_ARGUMENTS) + stack setup .PHONY: setup.lint setup.lint: - stack install $(STACK_ARGUMENTS) --copy-compiler-tool hlint weeder + stack install --copy-compiler-tool hlint weeder .PHONY: dependencies dependencies: - stack build $(STACK_ARGUMENTS) -j 1 Cabal haskell-src-exts - stack build $(STACK_ARGUMENTS) \ + stack build \ --flag yesod-auth-oauth2:example \ --dependencies-only --test --no-run-tests .PHONY: build build: - stack build $(STACK_ARGUMENTS) \ + stack build \ --flag yesod-auth-oauth2:example \ --pedantic --test --no-run-tests .PHONY: test test: - stack build $(STACK_ARGUMENTS) \ + stack build \ --flag yesod-auth-oauth2:example \ --pedantic --test .PHONY: lint lint: - stack exec $(STACK_ARGUMENTS) hlint src test - stack exec $(STACK_ARGUMENTS) weeder . + stack exec hlint src test + stack exec weeder . .PHONY: clean clean: