chore(skills): give the diagnostics scripts their own build constraints

Both are standalone programs run by name from one directory, so the package could never build as a unit. The diagnostics skill invokes each file explicitly.
This commit is contained in:
sam committed 2026-10-02 22:45:01 +10:00
1 parent 0fe3caa175
commit c4b2bf5db7
2 files changed
+9 -1

No files matched your search

@@ -1,6 +1,10 @@
//go:build ignore
// Command config-use-candidates reports syntax-level selector evidence for
// tagged fields declared by internal/config. Results are candidates, not proof
// that a field is wired, live, or dead.
// that a field is wired, live, or dead. Run it by name: go run
// config-use-candidates.go. The directory holds several standalone programs, so
// each carries this constraint.
package main
import (
@@ -1,5 +1,9 @@
//go:build ignore
// Command source-metrics emits deterministic, syntax-derived Go source metrics.
// It never writes to the inspected tree and uses only the Go standard library.
// Run it by name: go run source-metrics.go. The directory holds several
// standalone programs, so each carries this constraint.
package main
import (