Skip to content

Commit dbadacc

Browse files
committed
update packages
1 parent e0da9a0 commit dbadacc

File tree

2 files changed

+87
-95
lines changed

2 files changed

+87
-95
lines changed

Justfile

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,27 @@
11
default: install lint build test
22

3-
# down all app containers
43
down:
54
docker compose down --remove-orphans
65

7-
# run shell in container
86
sh:
97
docker compose run --service-ports application bash
108

11-
# run pytest with arguments
129
test *args: down && down
1310
docker compose run application sh -c "sleep 1 && uv run alembic downgrade base && uv run alembic upgrade head && uv run pytest {{ args }}"
1411

15-
# run api
1612
run:
1713
docker compose run --service-ports application sh -c "sleep 1 && uv run alembic upgrade head && uv run python -m app"
1814

19-
# create alembic migration with arguments
2015
migration *args: && down
2116
docker compose run application sh -c "sleep 1 && uv run alembic upgrade head && uv run alembic revision --autogenerate {{ args }}"
2217

23-
# build app docker container
2418
build:
2519
docker compose build application
2620

27-
# install local dependencies
2821
install:
2922
uv lock --upgrade
3023
uv sync --all-extras --no-install-project --frozen
3124

32-
# run linters
3325
lint:
3426
uv run ruff format .
3527
uv run ruff check . --fix

0 commit comments

Comments
 (0)