mirror of
https://github.com/tgorordo/smithy.git
synced 2026-06-05 16:22:15 -07:00
36 lines
651 B
Makefile
36 lines
651 B
Makefile
list:
|
|
just --list --unsorted
|
|
|
|
run *args:
|
|
uv run src/smithycmd.py {{args}}
|
|
|
|
marimo:
|
|
uv run marimo --edit
|
|
|
|
example:
|
|
uv run python src/main.py test/test_ballot.csv
|
|
|
|
format:
|
|
uv run ruff format src test
|
|
|
|
check:
|
|
uv run pyright src
|
|
|
|
test:
|
|
uv run pytest -vvv --tb=short --log-cli-level=INFO
|
|
|
|
compile:
|
|
uv run --with-requirements src/smithycmd.py pyinstaller --clean -F src/smithycmd.py
|
|
|
|
clean:
|
|
uv run pyclean src test
|
|
uv run ruff clean
|
|
rm -rf smithycmd.spec build dist .pytest_cache .hypothesis .benchmarks __marimo__
|
|
|
|
wipe:
|
|
just clean
|
|
rm -rf .venv
|
|
|
|
lock:
|
|
uv lock
|
|
uv pip compile pyproject.toml -o requirements.txt --group dev
|