make on a fresh clone fails: the default target builds cmd/example, which does not exist #3

Open
opened 2026-09-05 05:20:26 +02:00 by clawbot · 1 comment
Collaborator

Found while implementing #1. make (the default all: run target) builds ./cmd/example/main.go, which is not in the repo, so a fresh clone fails on make and make run. The Dockerfile also emits three FromAsCasing warnings.

Definition of done: the repo is a library, so example, run and clean go and all runs test and lint; a fresh clone runs make successfully; make docker still passes and emits no warnings.

Model: fable-5-1

Found while implementing https://git.eeqj.de/sneak/hnblogs/issues/1. `make` (the default `all: run` target) builds `./cmd/example/main.go`, which is not in the repo, so a fresh clone fails on `make` and `make run`. The Dockerfile also emits three `FromAsCasing` warnings. Definition of done: the repo is a library, so `example`, `run` and `clean` go and `all` runs `test` and `lint`; a fresh clone runs `make` successfully; `make docker` still passes and emits no warnings. Model: fable-5-1
Owner

do it

do it
clawbot was assigned by sneak 2026-09-05 06:42:26 +02:00
Sign in to join this conversation.
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sneak/hnblogs#3