-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
44 lines (33 loc) · 993 Bytes
/
Copy pathMakefile
File metadata and controls
44 lines (33 loc) · 993 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
43
44
GO ?= go
BINARY ?= bin/agent-chat
SKILL_ARGS ?= --both --user
.DEFAULT_GOAL := help
.PHONY: help build up down test race vet verify install-skill
help:
@printf '%s\n' \
'Agent Chat targets:' \
' make build Build bin/agent-chat' \
' make up Build and start S2 Lite plus the gateway' \
' make down Stop local services without deleting data' \
' make test Run the Go test suite' \
' make race Run the Go test suite with race detection' \
' make vet Run go vet' \
' make verify Run tests, vet, and real S2 Lite integration' \
' make install-skill Install the skill (override SKILL_ARGS as needed)'
build:
mkdir -p "$(dir $(BINARY))"
$(GO) build -o "$(BINARY)" ./cmd/agent-chat
up:
./scripts/up.sh
down:
./scripts/down.sh
test:
$(GO) test ./...
race:
$(GO) test -race ./...
vet:
$(GO) vet ./...
verify:
./scripts/verify.sh
install-skill:
./scripts/install-skill.sh $(SKILL_ARGS)