mirror of
https://github.com/mitchell/shortnr.git
synced 2025-12-18 22:07:21 +00:00
Setup Dialyxir and Credo code analyzers:
- Refactor codebase according to analyzers
This commit is contained in:
parent
593f29d271
commit
b699e661e2
15 changed files with 74 additions and 44 deletions
11
Makefile
11
Makefile
|
|
@ -1,16 +1,17 @@
|
|||
.PHONY: all build clean install start test
|
||||
.PHONY: all build clean install lint start test
|
||||
|
||||
build: install test clean
|
||||
build: install lint test clean
|
||||
docker build -t shortnr:latest .
|
||||
|
||||
clean:
|
||||
mix clean --deps
|
||||
mix clean
|
||||
|
||||
install:
|
||||
mix deps.get
|
||||
|
||||
install-prod:
|
||||
mix deps.get --only prod
|
||||
lint:
|
||||
mix dialyzer
|
||||
mix credo --strict
|
||||
|
||||
start:
|
||||
iex -S mix run --no-halt
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue