File size: 549 Bytes
0f8b3a0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
.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)