mirror of
https://github.com/vinta/awesome-python.git
synced 2026-05-06 14:17:15 -04:00
0bf9522e5d
- Set exclude-newer to 3 days and only-binary/:all: in pyproject.toml to limit dependency freshness window and block source builds - Switch uv sync to --locked in Makefile, ci.yml, and deploy-website.yml to enforce the lockfile rather than re-resolving on each install - Regenerate uv.lock with exclude-newer snapshot recorded Co-Authored-By: Claude <noreply@anthropic.com>
24 lines
493 B
Makefile
24 lines
493 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
|
|
|
|
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
|