grafana/.citools
dependabot[bot] 0b2d5e075f
deps(go): bump github.com/gohugoio/hugo from 0.162.0 to 0.163.3 in /.citools/src/air (#126929)
deps(go): bump github.com/gohugoio/hugo in /.citools/src/air

Bumps [github.com/gohugoio/hugo](https://github.com/gohugoio/hugo) from 0.162.0 to 0.163.3.
- [Release notes](https://github.com/gohugoio/hugo/releases)
- [Commits](https://github.com/gohugoio/hugo/compare/v0.162.0...v0.163.3)

---
updated-dependencies:
- dependency-name: github.com/gohugoio/hugo
  dependency-version: 0.163.3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-22 08:52:32 +00:00
..
src deps(go): bump github.com/gohugoio/hugo from 0.162.0 to 0.163.3 in /.citools/src/air (#126929) 2026-06-22 08:52:32 +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 Tools: Remove .bra files and tool (#121619) 2026-04-01 12:01:01 +02:00
Variables.mk CiTools: Remove jb & cog, properly use cue (#125517) 2026-05-27 12:39:53 +02: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:
    $(cue) 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>