Current section

Files

Jump to
Raw

Makefile

.PHONY: test
test: deps/.get
mix test
.PHONY: credo
credo: deps/.get
mix credo --strict
.PHONY: compile-strict
compile-strict: deps/.get
mix compile --warnings-as-errors
.PHONY: check-formatted
check-formatted: deps/.get
mix format --check-formatted
.PHONY: dialyze
dialyze: deps/.get
mix dialyzer
.PHONY: publish
publish: deps/.get
test -n "$$HEX_API_KEY"
mix hex.publish --yes
deps/.get: mix.exs mix.lock
mix deps.get
touch $@