Files
awesome-python/Makefile
Vinta Chen 87a16f47ea build: load .env in Makefile and rename fetch_stars to site_fetch_stats
Adds -include .env with export so environment variables (e.g. GitHub
token) are available to uv commands without manual export. Renames the
target to match the site_ prefix convention used by the other targets.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-18 13:57:32 +08:00

18 lines
313 B
Makefile

-include .env
export
site_install:
uv sync --no-dev
site_fetch_stats:
uv run python website/fetch_github_stars.py
site_build:
uv run python website/build.py
site_preview: site_build
python -m http.server -d website/output/ 8000
site_deploy: site_build
@echo "Deploy via GitHub Actions (push to master)"