Move entrypoint to cmd/keyfunc
check / check (push) Successful in 1m14s

REPO_POLICIES.md keeps Go entrypoints under cmd/, one main.go per binary
whose body is a single call into internal/. Move the root main.go there
and point the Makefile build target at ./cmd/keyfunc; the binary is still
written to ./keyfunc. main.go is otherwise unchanged. (closes #20)

Model: opus-4-8
This commit is contained in:
sneak committed 2026-09-21 07:20:21 +00:00
1 parent 8aeed7b901
commit 01cb526da2
2 files changed
+1 -1

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ setup:
@script/setup
build:
go build -trimpath -ldflags "$(LDFLAGS)" -o keyfunc .
go build -trimpath -ldflags "$(LDFLAGS)" -o keyfunc ./cmd/keyfunc
test:
@script/test
View File
File renamed without changes.