.PHONY: deps run test build fmt export-state

deps:
	go mod download

run:
	go run ./cmd/brain

test:
	go test ./...

build:
	CGO_ENABLED=0 go build -o bin/neural-brain ./cmd/brain

fmt:
	gofmt -w cmd internal

export-state:
	curl -fsS http://localhost:8090/api/state/export -o graph.db
