You've already forked RekomenciBackend
chore: improved Justfile
This commit is contained in:
@@ -16,7 +16,7 @@ build:
|
||||
[group("Docker")]
|
||||
[doc("Compose start")]
|
||||
up:
|
||||
docker compose --profile migrations --profile observability up -d --remove-orphans --quiet-pull
|
||||
docker compose --profile migrations --profile observability up -d --remove-orphans --quiet-pull --force-recreate
|
||||
|
||||
# =========
|
||||
# > Tests
|
||||
@@ -29,7 +29,7 @@ tests:
|
||||
just up
|
||||
|
||||
docker compose --profile migrations --profile tests up tests --remove-orphans --abort-on-container-exit
|
||||
|
||||
|
||||
# =========
|
||||
# > Lints
|
||||
# =========
|
||||
@@ -44,10 +44,21 @@ lint:
|
||||
bandit src tests
|
||||
|
||||
[no-cd]
|
||||
[group("Formatters run")]
|
||||
[group("Formatters")]
|
||||
format:
|
||||
ruff format
|
||||
|
||||
# =========
|
||||
# > Overall check
|
||||
# =========
|
||||
|
||||
[no-cd]
|
||||
[group("Check")]
|
||||
[doc("Check before commit")]
|
||||
check:
|
||||
just lint
|
||||
just tests
|
||||
|
||||
# =========
|
||||
# > Migrations
|
||||
# =========
|
||||
|
||||
Reference in New Issue
Block a user