Charm-based CLI with JSON persistence, status/list filters, external editor editing, command-history undo/redo, and glamour markdown without AutoStyle OSC hangs. Co-authored-by: Cursor <cursoragent@cursor.com>
17 lines
395 B
Makefile
17 lines
395 B
Makefile
BINARY := task-master
|
|
CMD := ./cmd/task-master
|
|
VERSION_PKG := task/internal/version
|
|
GIT_HASH := $(shell git rev-parse --short HEAD 2>/dev/null || echo unknown)
|
|
LDFLAGS := -X $(VERSION_PKG).BuildVersion=$(GIT_HASH)
|
|
|
|
.PHONY: build run version
|
|
|
|
build:
|
|
go build -ldflags "$(LDFLAGS)" -o bin/$(BINARY) $(CMD)
|
|
|
|
run: build
|
|
./bin/$(BINARY)
|
|
|
|
version: build
|
|
./bin/$(BINARY) version
|