Make the binary the default Make target
All checks were successful
check / check (push) Successful in 4s

Plain make now builds sfdupes (previously the default was all =
check + build); make build remains as an alias, so the Dockerfile
and existing habits keep working. The sfdupes target is phony: go
build's own cache decides what to recompile.
This commit is contained in:
2026-07-24 11:21:16 +07:00
parent 9f03eb3e2a
commit a1c3b852c3
3 changed files with 12 additions and 5 deletions

View File

@@ -393,7 +393,8 @@ Additional requirements:
The `Makefile` is the single source of truth for all operations:
- `make build` — build the `sfdupes` binary (cgo disabled).
- `make` / `make build` — build the `sfdupes` binary (cgo
disabled); building is the default target.
- `make test` — run the test suite (30-second timeout; reruns with
`-v` on failure).
- `make lint` — run `golangci-lint` with the repo config.