-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathMakefile
More file actions
42 lines (29 loc) · 922 Bytes
/
Makefile
File metadata and controls
42 lines (29 loc) · 922 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
38
39
40
41
42
.PHONY: build test test-ci lint format format-check check dev-check clean bootstrap docs docs-preview smoke
bootstrap:
brew install mint
mint bootstrap
build:
swift build
test:
swift test
test-ci:
swift test --parallel -Xswiftc -warnings-as-errors
lint:
mint run swiftlint --strict
format:
mint run swiftformat .
format-check:
mint run swiftformat --lint .
dev-check: format lint test
check: format-check lint test-ci docs
docs:
swift package generate-documentation --target AgentRunKit
swift package generate-documentation --target AgentRunKitTesting
swift package generate-documentation --target AgentRunKitFoundationModels
swift package generate-documentation --target AgentRunKitMLX
docs-preview:
swift package --disable-sandbox preview-documentation --target AgentRunKit
smoke:
@if [ -f .env ]; then set -a && . ./.env && set +a; fi && swift test --filter Smoke
clean:
swift package clean