-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
37 lines (27 loc) · 827 Bytes
/
Makefile
File metadata and controls
37 lines (27 loc) · 827 Bytes
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
# Catch-all target to prevent Make from erroring on extra arguments
%:
@:
init:
@cd sidecar && uv sync
@cd frontend && npm install
@uv run build.py
@echo "Initialized project! Run 'make dev' to start the development server."
run-sidecar:
@cd sidecar && uv run spartan-write-sidecar
run-server:
@cd server && uv run spartan-write-server
run-docs:
@cd user-guide && uv run mkdocs serve
build-docs:
@cd user-guide && uv run mkdocs build
build:
@uv run build.py
dev:
@uv run build.py --debug
@cd frontend && open "./src-tauri/target/debug/bundle/macos/Spartan Write.app"
run:
@cd frontend && open "./src-tauri/target/debug/bundle/macos/Spartan Write.app"
do-benchmark:
@cd llm-benchmark && uv run benchmark run $(filter-out $@,$(MAKECMDGOALS))
dashboard:
@cd llm-benchmark && uv run dashboard --dir=result