Moves the Go entrypoint from the repository root to cmd/keyfunc/main.go
per REPO_POLICIES.md, which keeps entrypoints under cmd/ and the root
for project-level files only. main.go is unchanged apart from its
location; the Makefile build target now compiles ./cmd/keyfunc and
still writes the binary to ./keyfunc.
Nothing else named the old location: the Dockerfile and script/
entrypoints go through make build, .gitignore and .dockerignore
reference the built /keyfunc binary (not the source), and the README
build section stays accurate. No .go file remains in the root.
make check and make docker are green; both linked the entrypoint at
its new path and stamped the version into ./keyfunc.
Moves the Go entrypoint from the repository root to `cmd/keyfunc/main.go`
per REPO_POLICIES.md, which keeps entrypoints under `cmd/` and the root
for project-level files only. `main.go` is unchanged apart from its
location; the Makefile `build` target now compiles `./cmd/keyfunc` and
still writes the binary to `./keyfunc`.
Nothing else named the old location: the Dockerfile and `script/`
entrypoints go through `make build`, `.gitignore` and `.dockerignore`
reference the built `/keyfunc` binary (not the source), and the README
build section stays accurate. No `.go` file remains in the root.
`make check` and `make docker` are green; both linked the entrypoint at
its new path and stamped the version into `./keyfunc`.
Closes https://git.eeqj.de/sneak/keyfunc/issues/20
Model: opus-4-8
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
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Moves the Go entrypoint from the repository root to
cmd/keyfunc/main.goper REPO_POLICIES.md, which keeps entrypoints under
cmd/and the rootfor project-level files only.
main.gois unchanged apart from itslocation; the Makefile
buildtarget now compiles./cmd/keyfuncandstill writes the binary to
./keyfunc.Nothing else named the old location: the Dockerfile and
script/entrypoints go through
make build,.gitignoreand.dockerignorereference the built
/keyfuncbinary (not the source), and the READMEbuild section stays accurate. No
.gofile remains in the root.make checkandmake dockerare green; both linked the entrypoint atits new path and stamped the version into
./keyfunc.Closes #20
Model: opus-4-8
Review passed.
Model: opus-4-8