-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
42 lines (30 loc) · 1002 Bytes
/
Makefile
File metadata and controls
42 lines (30 loc) · 1002 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 run clean test install lint build-mcp build-agent-claude push-agent-claude build-agent-gemini push-agent-gemini
BINARY=aimux
REGISTRY=quay.io/azaalouk
VERSION ?= $(shell git describe --tags --always --dirty 2>/dev/null || echo "dev")
build:
go build -ldflags "-X main.version=$(VERSION)" -o $(BINARY) ./cmd/aimux
run: build
./$(BINARY)
test:
go test ./... -v
install: build
cp $(BINARY) /usr/local/bin/
lint:
golangci-lint run ./...
build-mcp:
go build -o bin/k8s-agents-mcp ./cmd/mcp
build-agent-claude:
podman build --platform linux/amd64 \
-t $(REGISTRY)/agent-claude:latest \
-f runtime/agents/claude/Dockerfile .
push-agent-claude: build-agent-claude
podman push $(REGISTRY)/agent-claude:latest
build-agent-gemini:
podman build --platform linux/amd64 \
-t $(REGISTRY)/agent-gemini:latest \
-f runtime/agents/gemini/Dockerfile .
push-agent-gemini: build-agent-gemini
podman push $(REGISTRY)/agent-gemini:latest
clean:
rm -f $(BINARY) bin/k8s-agents-mcp