ScuttleBot

scuttlebot / Makefile
Blame History Raw 80 lines
1
.PHONY: all build fmt vet lint test test-smoke clean install \
2
install-claude-relay install-codex-relay install-gemini-relay \
3
chatbots
4
5
BINS := bin/scuttlebot bin/scuttlectl bin/claude-relay bin/codex-relay \
6
bin/gemini-relay bin/fleet-cmd
7
8
CHATBOT_BINS := bin/claude-agent bin/codex-agent bin/gemini-agent
9
10
all: $(BINS)
11
12
# chatbots builds the optional IRC chatbot agents (claude-agent, codex-agent,
13
# gemini-agent). These are not part of the default build — see docs/chatbot-agents.md.
14
chatbots: $(CHATBOT_BINS)
15
16
build:
17
go build ./...
18
19
fmt:
20
gofmt -w ./
21
22
vet:
23
go vet ./...
24
25
lint:
26
golangci-lint run
27
28
test:
29
go test ./...
30
31
test-smoke:
32
bash tests/smoke/test-installers.sh
33
34
# Install daemon + CLI to $(GOPATH)/bin (or ~/go/bin).
35
install:
36
go install ./cmd/scuttlebot ./cmd/scuttlectl
37
38
clean:
39
rm -f $(BINS) $(CHATBOT_BINS)
40
41
# --- relay install helpers ---
42
43
install-claude-relay:
44
bash skills/scuttlebot-relay/scripts/install-claude-relay.sh
45
46
install-codex-relay:
47
bash skills/openai-relay/scripts/install-codex-relay.sh
48
49
install-gemini-relay:
50
bash skills/gemini-relay/scripts/install-gemini-relay.sh
51
52
# --- individual bin targets ---
53
54
bin/scuttlebot:
55
go build -o $@ ./cmd/scuttlebot
56
57
bin/scuttlectl:
58
go build -o $@ ./cmd/scuttlectl
59
60
bin/claude-relay:
61
go build -o $@ ./cmd/claude-relay
62
63
bin/codex-relay:
64
go build -o $@ ./cmd/codex-relay
65
66
bin/gemini-relay:
67
go build -o $@ ./cmd/gemini-relay
68
69
bin/claude-agent:
70
go build -o $@ ./cmd/claude-agent
71
72
bin/codex-agent:
73
go build -o $@ ./cmd/codex-agent
74
75
bin/gemini-agent:
76
go build -o $@ ./cmd/gemini-agent
77
78
bin/fleet-cmd:
79
go build -o $@ ./cmd/fleet-cmd
80

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button