-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Move aquery and cquery to be there own verbs under pkg/aspect
- Loading branch information
1 parent
f67d7b8
commit fe60e7f
Showing
21 changed files
with
355 additions
and
356 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,31 @@ | ||
load("@io_bazel_rules_go//go:def.bzl", "go_library") | ||
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") | ||
|
||
go_library( | ||
name = "query", | ||
srcs = ["query.go"], | ||
importpath = "aspect.build/cli/pkg/aspect/query", | ||
visibility = ["//visibility:public"], | ||
deps = [ | ||
"//pkg/aspecterrors", | ||
"//pkg/aspect/query/shared", | ||
"//pkg/bazel", | ||
"//pkg/ioutils", | ||
"@com_github_manifoldco_promptui//:promptui", | ||
"@com_github_spf13_cobra//:cobra", | ||
"@com_github_spf13_viper//:viper", | ||
], | ||
) | ||
|
||
go_test( | ||
name = "query_test", | ||
srcs = ["query_test.go"], | ||
deps = [ | ||
":query", | ||
"//pkg/aspect/query/shared", | ||
"//pkg/aspect/query/shared/mock", | ||
"//pkg/bazel/mock", | ||
"//pkg/ioutils", | ||
"@com_github_golang_mock//gomock", | ||
"@com_github_onsi_gomega//:gomega", | ||
"@com_github_spf13_cobra//:cobra", | ||
"@com_github_spf13_viper//:viper", | ||
], | ||
) |
Oops, something went wrong.