grafana / cog

Code Generation with a human touch
Apache License 2.0
43 stars 2 forks source link

Make targets detect and use devbox appropriately #556

Closed K-Phoen closed 1 week ago

K-Phoen commented 1 week ago

Having both devbox and the Makefile as an entrypoint for targets/commands is confusing. This PR simplifies that by ensuring that make targets are able to correctly run commands, possibly by decorating them with a devbox run if the current shell isn't a devbox one.

As a bonus, the Makefile is now self-documenting.

github-actions[bot] commented 1 week ago

Note: in addition to the changes introduced by this PR, the diff includes unreleased changes living in main.

### 🔎 Changes to `grafana-foundation-sdk@next+cog-v0.0.x` ```patch ```