Skip to content

Commit

Permalink
Remove options struct for the deleted "get" subcommand. (#309)
Browse files Browse the repository at this point in the history
* Remove options struct for the deleted "get" subcommand.

* Update VERSION and Changelog for please_go.
  • Loading branch information
timburks authored Nov 26, 2024
1 parent 89afe7d commit d02d248
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
4 changes: 4 additions & 0 deletions tools/please_go/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Version 1.15.2
--------------
* Fully remove `get` subcommand (#309)

Version 1.15.1
--------------
* Use more specific names for coverage variables to avoid clashes
Expand Down
2 changes: 1 addition & 1 deletion tools/please_go/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.15.1
1.15.2
6 changes: 0 additions & 6 deletions tools/please_go/please_go.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,6 @@ var opts = struct {
Requirements []string `positional-arg-name:"requirements" description:"Any module requirements not included in the go.mod"`
} `positional-args:"true"`
} `command:"generate" alias:"g" description:"Generate build targets for a Go module"`
GoGet struct {
ModFile string `short:"m" long:"mod_file" description:"A go.mod file to use as a set of reuirementzs"`
Args struct {
Requirements []string `positional-arg-name:"requirements" description:"a set of module@version pairs"`
} `positional-args:"true"`
} `command:"get" description:"Generate go_get rules"`
ModInfo struct {
GoTool string `short:"g" long:"go" env:"TOOLS_GO" required:"true" description:"The Go tool we'll use"`
ModulePath string `short:"m" long:"module_path" description:"The path for the module being built"`
Expand Down

0 comments on commit d02d248

Please sign in to comment.