grafana/.citools
dependabot[bot] 7620c1f24f
deps(go): bump github.com/expr-lang/expr from 1.17.6 to 1.17.7 in /pkg/codegen (#115460)
* deps(go): bump github.com/expr-lang/expr in /pkg/codegen

Bumps [github.com/expr-lang/expr](https://github.com/expr-lang/expr) from 1.17.6 to 1.17.7.
- [Release notes](https://github.com/expr-lang/expr/releases)
- [Commits](https://github.com/expr-lang/expr/compare/v1.17.6...v1.17.7)

---
updated-dependencies:
- dependency-name: github.com/expr-lang/expr
  dependency-version: 1.17.7
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* use the same version everywhere

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2025-12-17 06:19:03 +00:00
..
src deps(go): bump github.com/expr-lang/expr from 1.17.6 to 1.17.7 in /pkg/codegen (#115460) 2025-12-17 06:19:03 +00:00
generate.sh Chore: Detaching go tools from the main Grafana workspace (#104861) 2025-05-21 11:22:24 +02:00
install.sh Chore: Detaching go tools from the main Grafana workspace (#104861) 2025-05-21 11:22:24 +02:00
README.md Chore: Detaching go tools from the main Grafana workspace (#104861) 2025-05-21 11:22:24 +02:00
Variables.mk Revert "Wire: Add provider lint" (#111306) 2025-09-18 12:07:55 +00:00

API

Adding and Upgrading Tools

To add a new tool, execute the installation script:

install.sh <tool>

Example

The following command will add lefthook to the tracked tools if it is not already installed, or update its version:

install.sh github.com/evilmartians/lefthook@v1.11.10

Behind the scenes, the script performs a few simple steps:

  • Creates a Go module under the .citools/src/<toolname> directory to track the tool version and its dependencies.
  • Creates a reference to the tool binary in the .citools/Variables.mk file.

Using Tools in the Makefile

Our Makefile imports .citools/Variables.mk, so you can call a tool binary using standard Make syntax.

Example

run:
    $(bra) run

Using Tracked Tools Without the Makefile

If you want to use a tool outside of the Makefile, you can locate the tool binary by executing the following command:

GOWORK=off go tool -n -modfile=<path_to_modfile> <toolname>