Rename rbcrun/cmd to make go install work properly

The standard go tooling assumes that a package's binary name should be
the name of the containing folder. Before this change, `go install` or
`go build` (without `-o`) names this binary `cmd`.

Also run `go mod tidy` while we're here, so the tooling doesn't try to
download github.com/nbutton23/zxcvbn-go, which we don't have a local
copy of.

Test: treehugger
Change-Id: I8f79724e928720caf961cdad128655ef31c3e9b2
This commit is contained in:
Dan Willemsen
2023-03-15 16:33:46 -04:00
parent 4fac9d776c
commit ec5e3b8d28
4 changed files with 2 additions and 13 deletions

View File

@@ -19,7 +19,7 @@ package {
blueprint_go_binary {
name: "rbcrun",
srcs: ["cmd/rbcrun.go"],
srcs: ["rbcrun/rbcrun.go"],
deps: ["rbcrun-module"],
}