[READ-ONLY] Mirror of https://github.com/andrioid/gastro. Server Side templates, combining Go (frontmatter) and html/template (body) with full LSP support gastro.andri.dk
golang lsp-server template-engine

fix(examples/gastro): use `go tool gastro` in //go:generate master

CI failed on the post-migration drift gate with: generate.go:22: running "gastro": exec: "gastro": executable file not found in $PATH The mise-action adds the standalone tailwindcss binary to PATH but doesn't install `gastro` (it's not declared in mise.toml \u2014 the website is self-hosting). The example's go.mod already declares `tool github.com/andrioid/gastro/cmd/gastro`, so switching the directive to `go tool gastro generate` resolves the binary through the tool directive and works in CI without any extra setup. Local mise-activated shells continue to work because `go tool` is a strict superset of having `gastro` on PATH. Also corrects the matching reference in docs/contributing.md.


+12 -9
2 changed files