mirror of
https://github.com/luxfi/graph.git
synced 2026-09-24 00:26:07 +00:00
Daemon naming convention: standalone binary is graphd. The library package (engine, indexer, storage, resolvers) keeps the import path github.com/luxfi/graph for use by the unified luxfi/explorer binary and external consumers. - cmd/graphd/ renamed (was cmd/graph/) - Dockerfile builds /usr/local/bin/graphd - Makefile bin/graphd target - .github/workflows/docker.yml multi-arch + hanzo ARC runners - .github/workflows/ci.yml hanzo runner - .github/actionlint.yaml register custom runner labels
14 lines
266 B
Makefile
14 lines
266 B
Makefile
VERSION ?= $(shell git describe --tags --always --dirty 2>/dev/null || echo "dev")
|
|
LDFLAGS := -ldflags "-s -w -X main.version=$(VERSION)"
|
|
|
|
build:
|
|
go build $(LDFLAGS) -o bin/graphd ./cmd/graphd
|
|
|
|
test:
|
|
go test -v ./...
|
|
|
|
clean:
|
|
rm -rf bin/
|
|
|
|
.PHONY: build test clean
|