-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJustfile
More file actions
34 lines (26 loc) · 775 Bytes
/
Copy pathJustfile
File metadata and controls
34 lines (26 loc) · 775 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
default: test
# Run the test suite
test *args:
uv run pytest {{ args }}
# Run tests with coverage report
cov:
uv run pytest --cov=src/xclif --cov-report=term-missing
# Build the HTML docs
docs:
uv run sphinx-build docs docs/_build/html
# Serve docs locally with live reload
docs-serve:
uv run sphinx-autobuild docs docs/_build/html
# Build the distribution (wheel + sdist)
build:
uv build
# Remove build artifacts
clean:
rm -rf dist docs/_build
# Install all dependency groups
install:
uv sync --all-groups
# Bump version: just bump 0.3.0 "Feature Title"
bump version:
sed -i '' 's/^version = ".*"/version = "{{ version }}"/' pyproject.toml
sed -i '' 's/^__version__ = ".*"/__version__ = "{{ version }}"/' src/git_worm/__init__.py