mirror of
https://github.com/vinta/awesome-python.git
synced 2026-05-06 22:19:37 -04:00
432a1f4b71
Co-Authored-By: Claude <noreply@anthropic.com>
33 lines
589 B
Makefile
33 lines
589 B
Makefile
-include .env
|
|
export
|
|
|
|
install:
|
|
uv sync --locked
|
|
|
|
fetch_github_stars:
|
|
uv run python website/fetch_github_stars.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 watchmedo shell-command \
|
|
--patterns='*.md;*.html;*.css;*.js;*.py' \
|
|
--recursive \
|
|
--wait --drop \
|
|
--command='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
|