mirror of
https://github.com/freckle/yesod-auth-oauth2.git
synced 2026-01-11 19:58:28 +01:00
27 lines
412 B
Makefile
27 lines
412 B
Makefile
all: setup build test lint
|
|
|
|
.PHONY: setup
|
|
setup:
|
|
stack setup
|
|
stack build --dependencies-only --test --no-run-tests
|
|
stack install hlint weeder
|
|
|
|
.PHONY: build
|
|
build:
|
|
stack build --pedantic --test --no-run-tests
|
|
|
|
.PHONY: test
|
|
test:
|
|
stack test
|
|
|
|
|
|
.PHONY: lint
|
|
lint:
|
|
hlint src test
|
|
weeder .
|
|
|
|
.PHONY: check-nightly
|
|
check-nightly:
|
|
stack setup --resolver nightly
|
|
stack build --resolver nightly --pedantic --test
|