-
-
Notifications
You must be signed in to change notification settings - Fork 28.9k
Expand file tree
/
Copy pathMakefile
More file actions
32 lines (23 loc) · 569 Bytes
/
Copy pathMakefile
File metadata and controls
32 lines (23 loc) · 569 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
-include .env
export
install:
uv sync --locked
fetch_github_stars:
uv run python website/fetch_github_stars.py
fetch_pypi_downloads:
uv run python website/fetch_pypi_downloads_via_clickpy.py
test:
uv run pytest website/tests/ -v
lint:
uv run ruff check .
format:
uv run ruff format .
typecheck:
uv run ty check website
build:
uv run python website/build.py
preview: build
uv run watchfiles \
'uv run python website/build.py' \
README.md website/templates website/static website/data & \
python -m http.server -b 127.0.0.1 -d website/output/ 8000