Skip to content

Commit

Permalink
Remove unsupported variables.go reference from README (#148)
Browse files Browse the repository at this point in the history
The reference to `variables.go` in the README was removed because it is
not supported. There were not enough use cases to justify its presence.

Fixes #141
  • Loading branch information
aimuz authored Dec 18, 2023
1 parent d50d907 commit 16ea027
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions get.go
Original file line number Diff line number Diff line change
Expand Up @@ -817,7 +817,6 @@ This is directory which stores Go modules with pinned buildable package that is
* Run ` + "`" + "bingo get <tool>" + "`" + ` to install <tool> that have own module file in this directory.
* For Makefile: Make sure to put ` + "`" + "include %s/Variables.mk" + "`" + ` in your Makefile, then use $(<upper case tool name>) variable where <tool> is the %s/<tool>.mod.
* For shell: Run ` + "`" + "source %s/variables.env" + "`" + ` to source all environment variable for each tool.
* For go: Import ` + "`" + "%s/variables.go" + "`" + ` to for variable names.
* See https://github.com/bwplotka/bingo or -h on how to add, remove or change binaries dependencies.
## Requirements
Expand Down Expand Up @@ -868,7 +867,7 @@ func ensureModDirExists(logger *log.Logger, relModDir string) error {
// README.
if err := os.WriteFile(
filepath.Join(relModDir, "README.md"),
[]byte(fmt.Sprintf(modREADMEFmt, relModDir, relModDir, relModDir, relModDir)),
[]byte(fmt.Sprintf(modREADMEFmt, relModDir, relModDir, relModDir)),
0666,
); err != nil {
return err
Expand Down

0 comments on commit 16ea027

Please sign in to comment.