mirror of
https://github.com/vinta/awesome-python.git
synced 2026-03-23 22:03:12 +08:00
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>
18 lines
313 B
Makefile
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)"
|