Skip to content

Agent Mesh

bridge: add a makefile

Tomas Tormo28b0f08a7ddd
diff --git a/cmd/sam-a2a-bridge/.gitignore b/cmd/sam-a2a-bridge/.gitignore
new file mode 100644
index 00000000..5af00c72
--- /dev/null
+++ b/cmd/sam-a2a-bridge/.gitignore
@@ -0,0 +1 @@
+/sam-a2a-bridge
diff --git a/cmd/sam-a2a-bridge/Makefile b/cmd/sam-a2a-bridge/Makefile
new file mode 100644
index 00000000..a1ababd6
--- /dev/null
+++ b/cmd/sam-a2a-bridge/Makefile
@@ -0,0 +1,26 @@
+# Pinned because a stale system Go (1.24) fails to auto-resolve the
+# toolchain go.mod needs; override with GOTOOLCHAIN=auto if yours does.
+GOTOOLCHAIN ?= go1.25.7
+export GOTOOLCHAIN
+
+BINARY := sam-a2a-bridge
+
+.PHONY: build test vet fmt install clean
+
+build:
+ go build -o $(BINARY) .
+
+test:
+ go test ./...
+
+vet:
+ go vet ./...
+
+fmt:
+ gofmt -l .
+
+install:
+ go install .
+
+clean:
+ rm -f $(BINARY)