build: add make install target for flynn CLI

This commit is contained in:
William Valentin
2026-02-16 10:56:45 -08:00
parent 3863f59b45
commit 91282a9c47
2 changed files with 11 additions and 6 deletions
+8 -2
View File
@@ -1,7 +1,7 @@
# Flynn Makefile
# Self-hosted personal AI agent
.PHONY: build dev start stop restart status logs tui tui-fs tui-dev test test-run lint typecheck help daemon-start daemon-stop daemon-restart daemon-status daemon-logs enable disable llama-start llama-stop llama-restart llama-status llama-logs llama-enable llama-disable
.PHONY: build dev start stop restart status logs tui tui-fs tui-dev test test-run lint typecheck check help deps install daemon-start daemon-stop daemon-restart daemon-status daemon-logs enable disable llama-start llama-stop llama-restart llama-status llama-logs llama-enable llama-disable
# Default target
.DEFAULT_GOAL := help
@@ -103,9 +103,15 @@ typecheck: ## Run TypeScript compiler (no emit)
check: lint typecheck test-run ## Run all checks (lint, typecheck, test)
# Dependencies
install: ## Install dependencies
deps: ## Install dependencies
pnpm install
install: ## Install flynn CLI as a shell command (build + global link)
pnpm install
pnpm build
pnpm link --global
@echo "flynn installed. If the command is not found, add PNPM_HOME to your PATH."
# Utilities
help: ## Show this help message
@echo "Flynn - Self-hosted personal AI agent"