gitcrawl/Makefile
2026-04-26 23:39:06 -07:00

17 lines
268 B
Makefile

BINARY := gitcrawl
VERSION ?= dev
.PHONY: build test run clean
build:
go build -ldflags "-X github.com/openclaw/gitcrawl/internal/cli.version=$(VERSION)" -o bin/$(BINARY) ./cmd/gitcrawl
test:
go test ./...
run:
go run ./cmd/gitcrawl $(ARGS)
clean:
rm -rf bin