Skip to content

Commit

Permalink
chore: go mod tidy, docgen, remove spurious deltas
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeagle committed Jan 4, 2024
1 parent 06cea8b commit 3ee71ac
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cmd/aspect/root/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ go_library(
"//cmd/aspect/sync",
"//cmd/aspect/test",
"//cmd/aspect/version",
"//docs/help/topics",
"//pkg/aspect/root/flags",
"//pkg/ioutils",
"//pkg/plugin/system",
"//docs/cli/help",
"@com_github_fatih_color//:color",
"@com_github_mattn_go_isatty//:go-isatty",
"@com_github_spf13_cobra//:cobra",
Expand Down
2 changes: 1 addition & 1 deletion cmd/aspect/root/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ import (
"aspect.build/cli/cmd/aspect/sync"
"aspect.build/cli/cmd/aspect/test"
"aspect.build/cli/cmd/aspect/version"
help_docs "aspect.build/cli/docs/help/topics"
"aspect.build/cli/pkg/aspect/root/flags"
"aspect.build/cli/pkg/ioutils"
"aspect.build/cli/pkg/plugin/system"
help_docs "aspect.build/cli/docs/help"
)

var (
Expand Down
5 changes: 4 additions & 1 deletion docs/aspect_lint.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ aspect lint <target patterns> [flags]
### Options

```
-h, --help help for lint
--diff Output patch fixes for lint errors
--fix Apply patch fixes for lint errors
-h, --help help for lint
--report Output lint reports (default true)
```

### Options inherited from parent commands
Expand Down
7 changes: 7 additions & 0 deletions go.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,13 @@ def deps():
sum = "h1:xDfNPAt8lFiC1UJrqV3uuy861HCTo708pDMbjHHdCas=",
version = "v0.0.0-20140422174119-9fd32a8b3d3d",
)
go_repository(
name = "com_github_bluekeyes_go_gitdiff",
build_file_proto_mode = "disable_global",
importpath = "github.com/bluekeyes/go-gitdiff",
sum = "h1:graP4ElLRshr8ecu0UtqfNTCHrtSyZd3DABQm/DWesQ=",
version = "v0.7.1",
)
go_repository(
name = "com_github_bmatcuk_doublestar_v4",
build_file_proto_mode = "disable_global",
Expand Down
1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ require (
github.com/bazelbuild/bazel-gazelle v0.34.0
github.com/bazelbuild/bazelisk v1.17.0
github.com/bazelbuild/buildtools v0.0.0-20231017121127-23aa65d4e117
github.com/bluekeyes/go-gitdiff v0.7.1
github.com/bmatcuk/doublestar/v4 v4.6.1
github.com/emirpasic/gods v1.18.1
github.com/fatih/color v1.16.0
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ github.com/bazelbuild/rules_go v0.42.0 h1:aY2smc3JWyUKOjGYmOKVLX70fPK9ON0rtwQoju
github.com/bazelbuild/rules_go v0.42.0/go.mod h1:TMHmtfpvyfsxaqfL9WnahCsXMWDMICTw7XeK9yVb+YU=
github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d h1:xDfNPAt8lFiC1UJrqV3uuy861HCTo708pDMbjHHdCas=
github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d/go.mod h1:6QX/PXZ00z/TKoufEY6K/a0k6AhaJrQKdFe6OfVXsa4=
github.com/bluekeyes/go-gitdiff v0.7.1 h1:graP4ElLRshr8ecu0UtqfNTCHrtSyZd3DABQm/DWesQ=
github.com/bluekeyes/go-gitdiff v0.7.1/go.mod h1:QpfYYO1E0fTVHVZAZKiRjtSGY9823iCdvGXBcEzHGbM=
github.com/bmatcuk/doublestar/v4 v4.6.1 h1:FH9SifrbvJhnlQpztAx++wlkk70QBf0iBWDwNy7PA4I=
github.com/bmatcuk/doublestar/v4 v4.6.1/go.mod h1:xBQ8jztBU6kakFMg+8WGxn0c6z1fTSPVIjEY1Wr7jzc=
github.com/bufbuild/protocompile v0.4.0 h1:LbFKd2XowZvQ/kajzguUp2DC9UEIQhIq77fZZlaQsNA=
Expand Down
2 changes: 1 addition & 1 deletion pkg/aspect/outputs/hash.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ import (
"sort"
"strings"

"github.com/alphadose/haxmap"
"aspect.build/cli/pkg/bazel"
"github.com/alphadose/haxmap"
"github.com/rogpeppe/go-internal/dirhash"
concurrently "github.com/tejzpr/ordered-concurrently/v3"
"github.com/twmb/murmur3"
Expand Down
2 changes: 1 addition & 1 deletion pkg/plugin/system/bep/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ go_library(
"//pkg/aspecterrors",
"//pkg/aspectgrpc",
"//pkg/plugin/system/besproxy",
"@com_github_golang_protobuf//ptypes/empty",
"@go_googleapis//google/devtools/build/v1:build_go_proto",
"@io_bazel_rules_go//proto/wkt:empty_go_proto",
"@org_golang_google_grpc//:go_default_library",
"@org_golang_google_grpc//credentials/insecure",
"@org_golang_google_protobuf//types/known/emptypb",
Expand Down

0 comments on commit 3ee71ac

Please sign in to comment.