-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathMakefile
More file actions
40 lines (32 loc) · 1.02 KB
/
Makefile
File metadata and controls
40 lines (32 loc) · 1.02 KB
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
.PHONY: help install lint format test serve build clean
help:
@echo "Available commands:"
@echo " install - Install the package in development mode"
@echo " lint - Run ruff linting"
@echo " format - Format code with ruff"
@echo " test - Build test documentation and verify outputs"
@echo " serve - Serve test documentation locally"
@echo " build - Build test documentation"
@echo " clean - Clean build artifacts"
install:
uv pip install -e .
lint:
ruff check --fix
format:
ruff format
test: build
@echo "Building test documentation..."
cd test-site && mkdocs build
@echo "Verifying generated files..."
@test -f test-site/site/llms.txt || (echo "ERROR: llms.txt not found" && exit 1)
@test -f test-site/site/llms-full.txt || (echo "ERROR: llms-full.txt not found" && exit 1)
@echo "Test documentation built successfully!"
serve:
cd test-site && mkdocs serve
build:
cd test-site && mkdocs build
clean:
rm -rf test-site/site/
rm -rf build/
rm -rf dist/
rm -rf *.egg-info/