velai / Makefile
cansik's picture
Upload folder via script
6d54cb9 verified
.PHONY: fmt fmt-check lint autoformat build publish
default: build
# Code Style
fmt:
uv run --group lint ruff format .
fmt-check:
uv run --group lint ruff format --check .
lint:
uv run --group lint ruff check .
autoformat:
uv run --group lint ruff format . && uv run --group lint ruff check --fix .
# Deployment
build:
uv run python scripts/build_release.py --clean --out-dir dist
uv run python scripts/build_hf_readme.py --out dist/README.md
publish:
make build
uv run python scripts/publish_to_hf.py --folder-path dist $(HF_REPO_ID)