Skip to content

Commit 675b049

Browse files
committed
chore: updated make check
1 parent 789f639 commit 675b049

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

Makefile

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
1-
IMAGE_NAME=nebulabroadcast/nebula-server:latest
1+
IMAGE_NAME=nebulabroadcast/nebula-server:dev
22
VERSION=$(shell cd backend && poetry run python -c 'import nebula' --version)
33

44
check: check_version
55
cd frontend && yarn format
66

77
cd backend && \
8-
poetry run black . && \
9-
poetry run ruff --fix . && \
8+
poetry run ruff format . && \
9+
poetry run ruff check --fix . && \
1010
poetry run mypy .
1111

1212
check_version:
13-
echo $(VERSION)
14-
sed -i "s/^version = \".*\"/version = \"$(VERSION)\"/" backend/pyproject.toml
13+
cd backend && poetry version $(VERSION)
1514

1615
build:
1716
docker build -t $(IMAGE_NAME) .

0 commit comments

Comments
 (0)