Files
any-hub/Makefile
2025-11-14 23:54:50 +08:00

23 lines
330 B
Makefile

GO ?= /home/rogee/.local/go/bin/go
GOCACHE ?= /tmp/go-build
.PHONY: build fmt test test-all run modules-test
build:
$(GO) build .
fmt:
$(GO) fmt ./...
test:
$(GO) test ./...
test-all:
GOCACHE=$(GOCACHE) $(GO) test ./...
run:
$(GO) run . --config ./config.toml
modules-test:
$(GO) test ./internal/hubmodule/...