mirror of
https://github.com/freckle/yesod-auth-oauth2.git
synced 2026-04-24 19:57:47 +02:00
Simplify Makefile, now that it's not used on CI
This commit is contained in:
parent
79c2ab3e93
commit
e57f90bc2c
15
Makefile
15
Makefile
@ -2,36 +2,35 @@ all: setup setup.lint dependencies build test lint
|
|||||||
|
|
||||||
.PHONY: setup
|
.PHONY: setup
|
||||||
setup:
|
setup:
|
||||||
stack setup $(STACK_ARGUMENTS)
|
stack setup
|
||||||
|
|
||||||
.PHONY: setup.lint
|
.PHONY: setup.lint
|
||||||
setup.lint:
|
setup.lint:
|
||||||
stack install $(STACK_ARGUMENTS) --copy-compiler-tool hlint weeder
|
stack install --copy-compiler-tool hlint weeder
|
||||||
|
|
||||||
.PHONY: dependencies
|
.PHONY: dependencies
|
||||||
dependencies:
|
dependencies:
|
||||||
stack build $(STACK_ARGUMENTS) -j 1 Cabal haskell-src-exts
|
stack build \
|
||||||
stack build $(STACK_ARGUMENTS) \
|
|
||||||
--flag yesod-auth-oauth2:example \
|
--flag yesod-auth-oauth2:example \
|
||||||
--dependencies-only --test --no-run-tests
|
--dependencies-only --test --no-run-tests
|
||||||
|
|
||||||
.PHONY: build
|
.PHONY: build
|
||||||
build:
|
build:
|
||||||
stack build $(STACK_ARGUMENTS) \
|
stack build \
|
||||||
--flag yesod-auth-oauth2:example \
|
--flag yesod-auth-oauth2:example \
|
||||||
--pedantic --test --no-run-tests
|
--pedantic --test --no-run-tests
|
||||||
|
|
||||||
.PHONY: test
|
.PHONY: test
|
||||||
test:
|
test:
|
||||||
stack build $(STACK_ARGUMENTS) \
|
stack build \
|
||||||
--flag yesod-auth-oauth2:example \
|
--flag yesod-auth-oauth2:example \
|
||||||
--pedantic --test
|
--pedantic --test
|
||||||
|
|
||||||
|
|
||||||
.PHONY: lint
|
.PHONY: lint
|
||||||
lint:
|
lint:
|
||||||
stack exec $(STACK_ARGUMENTS) hlint src test
|
stack exec hlint src test
|
||||||
stack exec $(STACK_ARGUMENTS) weeder .
|
stack exec weeder .
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user