yesod-auth-oauth2/Makefile
2018-01-23 10:16:22 -05:00

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