merge: updates from upstream

This commit is contained in:
2024-11-02 13:30:15 +00:00
3 changed files with 33 additions and 4 deletions

View File

@@ -2,8 +2,12 @@
COMPOSE = docker compose -f docker-compose.yml -f docker-compose.override.yml
.PHONY: system_setup
system_setup: ## setup system deps
@lefthook install
.PHONY: setup
setup: ## setup project
setup: system_setup ## setup project
@mkdir -p priv/plts
@mix do local.rebar --force, local.hex --force
@mix do deps.get, deps.compile
@@ -13,6 +17,10 @@ setup: ## setup project
check_format: ## run format checker
@mix format --check-formatted
.PHONY: check_compile
check_compile: ## run compile
@mix compile --warnings-as-errors --force
.PHONY: credo
credo: ## run credo
@mix credo suggest --strict --format=flycheck
@@ -22,7 +30,7 @@ dialyzer: ## run dialyzer
@mix dialyzer --format short
.PHONY: static_code_analysis
static_code_analysis: check_format credo dialyzer ## run static code analysis
static_code_analysis: check_format check_compile credo dialyzer ## run static code analysis
.PHONY: docs
docs: ## create documentation files