-
Notifications
You must be signed in to change notification settings - Fork 359
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Publish aspect-build/[email protected] * Update presubmit.yml --------- Co-authored-by: Alex Eagle <[email protected]>
- Loading branch information
1 parent
2e774fa
commit cb900a5
Showing
5 changed files
with
95 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
"Bazel dependencies" | ||
|
||
module( | ||
name = "aspect_rules_lint", | ||
version = "0.1.2", | ||
compatibility_level = 1, | ||
) | ||
|
||
bazel_dep(name = "aspect_bazel_lib", version = "1.36.0") | ||
|
||
# Needed in the root because we use js_lib_helpers in our aspect impl | ||
bazel_dep(name = "aspect_rules_js", version = "1.32.6") | ||
bazel_dep(name = "bazel_skylib", version = "1.4.2") | ||
bazel_dep(name = "platforms", version = "0.0.7") | ||
|
||
# Needed in the root because we dereference ProtoInfo in our aspect impl | ||
bazel_dep(name = "rules_proto", version = "5.3.0-21.7") | ||
|
||
# Needed in the root because we dereference the toolchain in our aspect impl | ||
bazel_dep(name = "rules_buf", version = "0.1.1") | ||
|
||
# Needed due to rules_proto leaking the dependency | ||
bazel_dep(name = "protobuf", version = "21.7", repo_name = "com_google_protobuf") | ||
|
||
bazel_dep(name = "rules_go", version = "0.39.1", dev_dependency = True) | ||
bazel_dep(name = "gazelle", version = "0.31.0", dev_dependency = True) | ||
bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.4.1", dev_dependency = True) | ||
|
||
go_deps = use_extension("@gazelle//:extensions.bzl", "go_deps", dev_dependency = True) | ||
go_deps.from_file(go_mod = "//:go.mod") | ||
go_deps.gazelle_override( | ||
build_file_generation = "on", | ||
path = "github.com/bazelbuild/bazelisk", | ||
) | ||
|
||
# All *direct* Go dependencies of the module have to be listed explicitly. | ||
use_repo( | ||
go_deps, | ||
"build_aspect_cli", | ||
"com_github_fatih_color", | ||
"com_github_hashicorp_go_plugin", | ||
"in_gopkg_yaml_v2", | ||
) |
14 changes: 14 additions & 0 deletions
14
modules/aspect_rules_lint/0.1.2/patches/module_dot_bazel_version.patch
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
=================================================================== | ||
--- a/MODULE.bazel | ||
+++ b/MODULE.bazel | ||
@@ -1,9 +1,9 @@ | ||
"Bazel dependencies" | ||
|
||
module( | ||
name = "aspect_rules_lint", | ||
- version = "0.0.0", | ||
+ version = "0.1.2", | ||
compatibility_level = 1, | ||
) | ||
|
||
bazel_dep(name = "aspect_bazel_lib", version = "1.36.0") |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
bcr_test_module: | ||
module_path: "example" | ||
matrix: | ||
platform: ["debian10", "macos", "ubuntu2004"] | ||
tasks: | ||
run_tests: | ||
name: "Run test module" | ||
platform: ${{ platform }} | ||
environment: | ||
BAZELISK_BASE_URL: "https://github.com/bazelbuild/bazel/releases/download/" | ||
test_targets: | ||
- "//..." |
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"integrity": "sha256-3ZH+tSzXiiWFg2Bri+lKCQGVKvSyTt2KCAqkrVSIm+8=", | ||
"strip_prefix": "rules_lint-0.1.2", | ||
"url": "https://github.com/aspect-build/rules_lint/releases/download/v0.1.2/rules_lint-v0.1.2.tar.gz", | ||
"patches": { | ||
"module_dot_bazel_version.patch": "sha256-BgtJ2nWzBn4A+Gzi/hWouOblnCH7Rq8k4doEZSoGgyY=" | ||
}, | ||
"patch_strip": 1 | ||
} |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"homepage": "https://github.com/aspect-build/rules_lint", | ||
"maintainers": [ | ||
{ | ||
"email": "[email protected]", | ||
"github": "aspect-build", | ||
"name": "Aspect team" | ||
} | ||
], | ||
"repository": [ | ||
"github:aspect-build/rules_lint" | ||
], | ||
"versions": [ | ||
"0.1.2" | ||
], | ||
"yanked_versions": {} | ||
} |