-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathMakefile
More file actions
48 lines (34 loc) · 771 Bytes
/
Makefile
File metadata and controls
48 lines (34 loc) · 771 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
full-test: test
test:
uv run pytest
run:
cd example && \
uv run python manage.py runserver
build:
uv build
install:
uv sync --dev
install-prod:
uv sync
lint:
uv run ruff check .
format:
uv run ruff format .
format-check:
uv run ruff format --check .
lint-fix:
uv run ruff check --fix .
version-patch:
python scripts/bump_version.py patch
version-minor:
python scripts/bump_version.py minor
version-major:
python scripts/bump_version.py major
release-check:
@echo "Running pre-release checks..."
make lint
make format-check
make test
uv build
@echo "✅ All checks passed - ready for release!"
.PHONY: test full-test build lint format format-check lint-fix run install install-prod version-patch version-minor version-major release-check