Skip to content

Wire the Go module into the repo's build, format, and lint orchestration #296

Description

@blockchain-maxis

The repo drives everything through pnpm + turbo (turbo.json, root package.json scripts). The Go module in cli/ cannot be a turbo task on its own, and a third toolchain that only some contributors know needs one obvious entrypoint.

erst solves this with a Makefile carrying build/test/lint/fmt targets split per language (rust-lint, check-fmt-go, check-fmt-rust), which is the pattern to follow.

Why it matters: without a single entrypoint, contributors run the TypeScript gates, miss the Go ones, and CI becomes the first place anyone learns the CLI is broken. Dependabot also needs to see go.mod as a distinct ecosystem (#232 already tracks an unmanaged update backlog).

Acceptance: a root Makefile exposes build, test, lint, fmt, and check-fmt that cover TypeScript, Go, and (later) Rust; pnpm scripts delegate to it where sensible so existing muscle memory still works; CONTRIBUTING.md documents the Go toolchain requirement; Dependabot is configured for the gomod ecosystem.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions