nandi/oripublic Fork 0
2434cc7fb724f02b34c0189dfd5fb30c1a8a68e3
Commits
Clone
git clone https://git.rickub.com/nandi/ori.git
git clone ssh://git@rickub.com/nandi/ori.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

forked from bots-garden/ori

Makefile · 39 lines · 1.2 KBMakefile Blame HistoryRaw
✨ Introduce new feature(s): ACP web client — Go backend (agent, bridge, httpserver, mockagent) + React SPA (Zed-like agent panel), tests, quality gate PASS 2434cc7 k33g yesterday1# Ori — ACP web client. `make help` lists the targets.
2
3.PHONY: help deps build build-ui build-go test test-go test-ui run run-mock dev clean
4
5help: ## Show this help
6 @grep -E '^[a-zA-Z_-]+:.*## ' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*## "}; {printf " %-12s %s\n", $$1, $$2}'
7
8deps: ## Install frontend dependencies
9 cd ui && npm install
10
11build-ui: ## Build the SPA into ui/dist
12 cd ui && npm run build
13
14build-go: ## Build the server and mock-agent binaries into bin/
15 go build -o bin/ori ./cmd/ori
16 go build -o bin/ori-mock-agent ./cmd/ori-mock-agent
17
18build: build-ui build-go ## Build everything (SPA first, then the Go binary that embeds it)
19
20test-go: ## Run the Go test suite
21 go test ./...
22
23test-ui: ## Run the frontend test suite
24 cd ui && npm run test
25
26test: test-go test-ui ## Run all tests
27
28run: build ## Build then start the server on :8888 (Claude Code via ACP adapter)
29 ./bin/ori
30
31run-mock: build ## Build then start the server with the demo mock agent (no Claude needed)
32 ./bin/ori --agent-cmd "bin/ori-mock-agent"
33
34dev: ## Start the Vite dev server (expects `go run ./cmd/ori` in another terminal)
35 cd ui && npm run dev
36
37clean: ## Remove build artifacts
38 rm -rf bin ui/dist/*
39 @touch ui/dist/.gitkeep