molecule-cli/cmd/molecule
Molecule AI SDK-Dev 1ebe5fa999 fix(cli): build from module root ("go build .") instead of "./cmd/molecule"
Go 1.25 resolves "./cmd/molecule" relative to cmd.Dir as an absolute path
under the CWD, producing the doubled "cmd/molecule/cmd/molecule" error.
Building the whole module from the root and relying on the binary name
from -o is the idiomatic Go approach and avoids path arithmetic entirely.

Also tightened error message to match the new command.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-22 19:12:49 +00:00
..
main.go feat: implement full CLI command tree 2026-04-21 01:18:24 +00:00
molecule_test.go fix(cli): build from module root ("go build .") instead of "./cmd/molecule" 2026-04-22 19:12:49 +00:00