1ffea526a0
This makes it possible to generate packages that you do not have a local checkout for, e.g. running: `gomod2nix generate --outdir example/ golang.org/x/tools/cmd/stringer` This will be useful for packaging dependencies that you are not developing, but just simply packaging.
4 lines
119 B
Bash
Executable file
4 lines
119 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
cd "${0%/*}"
|
|
exec $GOMOD2NIX generate "golang.org/x/tools/cmd/stringer@v0.1.11"
|