Files
synapbus/Makefile
T
Algis DumbrisandClaude Opus 4.6 f1bbb86a67 feat: initial SynapBus project scaffolding
Bootstrap the SynapBus project — a local-first, MCP-native agent-to-agent
messaging service written in Go.

Includes:
- Project constitution (10 architectural principles)
- 10 feature specs with implementation tasks:
  001 Core Messaging, 002 Agent Registry, 003 Human Auth (OAuth 2.1),
  004 Channels, 005 Web UI, 006 MCP Server, 007 Trace Logging,
  008 Semantic Search, 009 Attachments, 010 Swarm Patterns
- Go project scaffold (cobra CLI, SQLite schema, Makefile)
- Speckit templates and commands

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 11:18:19 +02:00

32 lines
620 B
Makefile

.PHONY: build test dev web clean lint
BINARY := synapbus
MODULE := github.com/smart-mcp-proxy/synapbus
BUILD_DIR := bin
LDFLAGS := -s -w
CGO_ENABLED := 0
build:
CGO_ENABLED=$(CGO_ENABLED) go build -ldflags "$(LDFLAGS)" -o $(BUILD_DIR)/$(BINARY) ./cmd/synapbus
test:
CGO_ENABLED=$(CGO_ENABLED) go test ./... -v -race -count=1
dev:
CGO_ENABLED=$(CGO_ENABLED) go run ./cmd/synapbus serve
web:
cd web && npm install && npm run build
@echo "Svelte SPA built to internal/web/dist/"
clean:
rm -rf $(BUILD_DIR)
rm -rf web/node_modules web/build
rm -rf data
lint:
golangci-lint run ./...
.DEFAULT_GOAL := build