mirror of
https://github.com/vinta/awesome-python.git
synced 2026-03-23 13:56:43 +08:00
Display the awesome-python repo's star count (formatted as '230k+') and the last data refresh date below the hero CTA. Fetches the self-repo star count by always including vinta/awesome-python in the stars fetch. Also removes the footer date stamp, which is now surfaced in the hero. Co-Authored-By: Claude <noreply@anthropic.com>
24 lines
484 B
Makefile
24 lines
484 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
|
|
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
|