-
Notifications
You must be signed in to change notification settings - Fork 128
Expand file tree
/
Copy pathMakefile
More file actions
55 lines (39 loc) · 1.14 KB
/
Copy pathMakefile
File metadata and controls
55 lines (39 loc) · 1.14 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
PROJECT ?=
SLUG ?=
AGENTS ?= claude,codex
SCENARIO ?= list-apps
.PHONY: init build app test smoke stress agent-smoke check-docs check-repo ci release-package npm-build npm-publish new-history new-plan
init:
@if [ -z "$(PROJECT)" ]; then echo "用法: make init PROJECT=项目名"; exit 1; fi
./scripts/init-project.sh "$(PROJECT)"
build:
swift build
app:
./scripts/build-open-computer-use-app.sh debug
test:
swift test
smoke:
./scripts/run-tool-smoke-tests.sh
stress:
./scripts/run-tool-stress-tests.sh
agent-smoke:
node ./scripts/run-agent-smoke-tests.mjs --agents=$(AGENTS) --scenario=$(SCENARIO)
check-docs:
./scripts/check-docs.sh
check-repo:
./scripts/check-docs.sh
./scripts/check-repo-hygiene.sh
ci:
./scripts/ci.sh
release-package:
./scripts/release-package.sh
npm-build:
node ./scripts/npm/build-packages.mjs
npm-publish:
node ./scripts/npm/publish-packages.mjs
new-history:
@if [ -z "$(SLUG)" ]; then echo "用法: make new-history SLUG=变更名"; exit 1; fi
./scripts/new-history.sh "$(SLUG)"
new-plan:
@if [ -z "$(SLUG)" ]; then echo "用法: make new-plan SLUG=计划名"; exit 1; fi
./scripts/new-exec-plan.sh "$(SLUG)"