Hi there,
This is a request for classic confinement for gomodrun. https://github.com/dustinblackman/gomodrun/
Gomodrun is the forgotten Golang tool that executes and caches binaries included in go.mod files. This makes it easy to version cli tools in your projects such as golangci-lint
and ginkgo
that are versioned locked to what you specify in go.mod
. Binaries are cached by go version and package version.
The TL;DR of it’s underlaying workings;
- Analyzing go projects
go.mod
andtools.go
files. - Building binaries based off what exists in
$GOPATH/pkg/mod
source directory that’s managed bygo mod
. - Storing these binaries in a local cache within the project.
It requires classic confinements as it’s a language tool that requires the same access a developer would need to work on their projects.
Thanks.
-Dustin