-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathjustfile
More file actions
44 lines (37 loc) · 987 Bytes
/
justfile
File metadata and controls
44 lines (37 loc) · 987 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
# List available commands
default:
@just --list
# Install development dependencies
install:
uv venv --quiet || true
uv pip install -e ".[dev]"
# Run acceptance tests
test:
#!/usr/bin/env bash
if [ -f .env ]; then
source .env
else
echo "Warning: .env file not found. Make sure environment variables are set manually."
fi
uv run pytest tests/test_acceptance.py -v
# Clean build artifacts
clean:
rm -rf dist/
rm -rf *.egg-info/
# Build package distributions
build: clean
uv pip install build
uv run python -m build
# Build and publish to PyPI
publish: build
uv pip install twine
uv run twine check dist/*
uv run twine upload dist/*
# Build and publish to TestPyPI
publish-test: build
uv pip install twine
uv run twine check dist/*
uv run twine upload --repository testpypi --config-file ~/.pypirc dist/*
# Launch Jupyter notebook for interactive development
notebook:
uv run jupyter notebook