build: add make install target for flynn CLI
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user