constellate 0.3.2

Constellation Portal is a Rust-based CLI that converts curated markdown collections (requirements, ADRs, audits, tasks) into a static, themeable knowledge portal.
BINARY := constellate
CARGO ?= cargo
BUILD_TARGET := target/release/$(BINARY)
PREFIX ?= /usr/local
BINDIR ?= $(PREFIX)/bin

.PHONY: build test install-user install-system clean

build:
	$(CARGO) build --release

test:
	$(CARGO) test

install-user: build
	install -d $(HOME)/.local/bin
	install -m755 $(BUILD_TARGET) $(HOME)/.local/bin/$(BINARY)

install-system: build
	install -d $(DESTDIR)$(BINDIR)
	install -m755 $(BUILD_TARGET) $(DESTDIR)$(BINDIR)/$(BINARY)

clean:
	$(CARGO) clean
	rm -rf dist workspace/dist