Files
aml/Makefile
T
zeekay a83ac6e1be chore: migration, Dockerfile, compose.yml, Makefile
9-table SQLite migration (transactions, entities, rules, alerts, cases,
case_events, sanctions_lists, sanctions_entries, webhooks). Multi-stage
Dockerfile producing single amld binary. compose.yml with mounted data
volume. Makefile with build/test/run/clean targets.
2026-03-03 10:00:00 -07:00

18 lines
324 B
Makefile

.PHONY: build test run clean
VERSION := $(shell git describe --tags --always 2>/dev/null || echo dev)
LDFLAGS := -ldflags="-s -w -X main.version=$(VERSION)"
build:
CGO_ENABLED=1 go build $(LDFLAGS) -o amld ./cmd/amld/
test:
go test -race -count=1 ./...
run: build
./amld serve --dev
clean:
rm -f amld
rm -rf data/