summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPeter Stone <thepeterstone@gmail.com>2026-02-08 21:35:45 -1000
committerPeter Stone <thepeterstone@gmail.com>2026-02-08 21:35:45 -1000
commit2e2b2187b957e9af78797a67ec5c6874615fae02 (patch)
tree1181dbb7e43f5d30cb025fa4d50fd4e7a2c893b3 /Makefile
Initial project: task model, executor, API server, CLI, storage, reporter
Claudomator automation toolkit for Claude Code with: - Task model with YAML parsing, validation, state machine (49 tests, 0 races) - SQLite storage for tasks and executions - Executor pool with bounded concurrency, timeout, cancellation - REST API + WebSocket for mobile PWA integration - Webhook/multi-notifier system - CLI: init, run, serve, list, status commands - Console, JSON, HTML reporters with cost tracking Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..a8b99ff
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,27 @@
+.PHONY: build test lint clean run
+
+BINARY := claudomator
+BUILD_DIR := bin
+GO := go
+
+build:
+ $(GO) build -o $(BUILD_DIR)/$(BINARY) ./cmd/claudomator
+
+test:
+ $(GO) test ./... -v -race -count=1
+
+test-cover:
+ $(GO) test ./... -coverprofile=coverage.out -race
+ $(GO) tool cover -html=coverage.out -o coverage.html
+
+lint:
+ golangci-lint run ./...
+
+clean:
+ rm -rf $(BUILD_DIR) coverage.out coverage.html
+
+run: build
+ ./$(BUILD_DIR)/$(BINARY)
+
+tidy:
+ $(GO) mod tidy