Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Igor v0 .gitignore

# Build artifacts
igord
/igord
/igord-lab
bin/
dist/
build/
Expand Down
16 changes: 11 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: help bootstrap build clean test lint vet fmt fmt-check tidy agent agent-heartbeat agent-reconciliation run-agent demo demo-portable gh-check gh-metadata gh-release
.PHONY: help bootstrap build build-lab clean test lint vet fmt fmt-check tidy agent agent-heartbeat agent-reconciliation run-agent demo demo-portable gh-check gh-metadata gh-release

.DEFAULT_GOAL := help

Expand Down Expand Up @@ -33,12 +33,18 @@ bootstrap: ## Install development toolchain and verify environment
@echo "Running developer environment bootstrap..."
@./scripts/bootstrap.sh

build: ## Build igord binary
build: ## Build igord binary (product CLI)
@echo "Building $(BINARY_NAME)..."
@mkdir -p $(BINARY_DIR)
$(GOBUILD) -o $(BINARY_DIR)/$(BINARY_NAME) ./cmd/igord
@echo "Built $(BINARY_DIR)/$(BINARY_NAME)"

build-lab: ## Build igord-lab binary (research/P2P CLI)
@echo "Building igord-lab..."
@mkdir -p $(BINARY_DIR)
$(GOBUILD) -o $(BINARY_DIR)/igord-lab ./cmd/igord-lab
@echo "Built $(BINARY_DIR)/igord-lab"

clean: ## Remove build artifacts
@echo "Cleaning build artifacts..."
$(GOCLEAN)
Expand All @@ -62,7 +68,7 @@ lint: ## Run golangci-lint

vet: ## Run go vet
@echo "Running go vet..."
$(GOVET) ./cmd/... ./internal/... ./pkg/...
$(GOVET) ./cmd/... ./internal/... ./pkg/... ./sdk/...

fmt: ## Format code with gofmt and goimports
@echo "Formatting code..."
Expand Down Expand Up @@ -94,9 +100,9 @@ agent: ## Build example agent WASM
cd $(AGENT_DIR) && $(MAKE) build
@echo "Agent built: $(AGENT_DIR)/agent.wasm"

run-agent: build agent ## Build and run example agent locally
run-agent: build-lab agent ## Build and run example agent locally (uses igord-lab)
@echo "Running agent with default budget (1.0)..."
./$(BINARY_DIR)/$(BINARY_NAME) --run-agent $(AGENT_DIR)/agent.wasm --budget 1.0
./$(BINARY_DIR)/igord-lab --run-agent $(AGENT_DIR)/agent.wasm --budget 1.0

agent-heartbeat: ## Build heartbeat demo agent WASM
@echo "Building heartbeat agent..."
Expand Down
Loading
Loading