-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
32 lines (26 loc) · 700 Bytes
/
Makefile
File metadata and controls
32 lines (26 loc) · 700 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
format: lint
uv run -- ruff format
lint:
uv run -- ruff check --fix
uv run -- ty check
test:
uv run -- pytest -v -n auto
install:
uv sync --all-extras
uv run -- prek install
update:
uv sync --upgrade --all-extras
publish:
@test -n "$(version)" || (echo >&2 "usage: make publish version=v1.2.3"; exit 1)
git tag -a "v$(version)" -m "Release v$(version)"
git push origin "v$(version)"
compile:
uv run -- nuitka src/app.py \
--lto=yes \
--output-filename=coder \
--python-flag=no_warnings \
--include-package=src \
--include-data-dir=src/internal=src/internal \
--include-data-files=pyproject.toml=pyproject.toml \
--noinclude-data-files=src/tests/* \
--output-dir=dist/