mirror of
https://github.com/vinta/awesome-python.git
synced 2026-03-22 14:12:18 -05:00
Rename the Makefile target from fetch_stats to fetch_github_stars to match the script name. Remove CACHE_MAX_AGE_DAYS and the staleness check so every run fetches all repos unconditionally. Co-Authored-By: Claude <noreply@anthropic.com>
25 lines
536 B
Makefile
25 lines
536 B
Makefile
-include .env
|
|
export
|
|
|
|
install:
|
|
uv sync
|
|
|
|
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
|
|
@echo "Check the website on http://localhost:8000"
|
|
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
|