Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Publish seh/rules_cue@v0.5.0 (#1200)
Co-authored-by: Steven E. Harris <seh@panix.com>
- Loading branch information
1 parent
85db476
commit fe14eba
Showing
5 changed files
with
71 additions
and
1 deletion.
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,18 @@ | ||
module( | ||
name = "rules_cue", | ||
version = "0.5.0", | ||
) | ||
|
||
bazel_dep(name = "bazel_skylib", version = "1.5.0") | ||
bazel_dep(name = "platforms", version = "0.0.8") | ||
bazel_dep(name = "rules_go", version = "0.43.0") | ||
|
||
cue = use_extension("//cue:extensions.bzl", "cue") | ||
use_repo( | ||
cue, | ||
"cue_tool_toolchains", | ||
) | ||
|
||
register_toolchains("@cue_tool_toolchains//:all") | ||
|
||
bazel_dep(name = "gazelle", version = "0.34.0", dev_dependency = True) |
12 changes: 12 additions & 0 deletions
12
modules/rules_cue/0.5.0/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,12 @@ | ||
=================================================================== | ||
--- a/MODULE.bazel | ||
+++ b/MODULE.bazel | ||
@@ -1,7 +1,7 @@ | ||
module( | ||
name = "rules_cue", | ||
- version = "0.0.0", | ||
+ version = "0.5.0", | ||
) | ||
|
||
bazel_dep(name = "bazel_skylib", version = "1.5.0") | ||
bazel_dep(name = "platforms", version = "0.0.8") |
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,30 @@ | ||
matrix: &matrix | ||
platform: | ||
- centos7 | ||
- debian10 | ||
- macos | ||
- ubuntu2004 | ||
# Some valid invocations of the "cue" tool can't succeed (e.g. use | ||
# of the "path" and "expression" rules attributes) until we resolve | ||
# or find a reliable workaround for the following issue: | ||
# | ||
# https://github.com/bazelbuild/bazel/issues/17487 | ||
# | ||
# Until then, withdraw promised support for using this module on | ||
# Windows. | ||
#- windows | ||
tasks: | ||
verify_targets: | ||
name: Verify that all tests succeed | ||
platform: ${{ platform }} | ||
test_targets: | ||
- '@rules_cue//test:all' | ||
bcr_test_module: | ||
module_path: examples/bzlmod | ||
matrix: *matrix | ||
tasks: | ||
run_test_module: | ||
name: Run test module | ||
platform: ${{ platform }} | ||
build_targets: | ||
- //root |
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-fk77jcHpLAKWZlhCAi2BRotVACw3Q0cEq5VAYpI9NTg=", | ||
"strip_prefix": "rules_cue-0.5.0", | ||
"url": "https://github.com/seh/rules_cue/releases/download/v0.5.0/vcs-archive-v0.5.0.tar.gz", | ||
"patches": { | ||
"module_dot_bazel_version.patch": "sha256-lcQEg6PgbBA9+rI2u31bfXR3OHKZL5IYk43lpPBpiKM=" | ||
}, | ||
"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 |
---|---|---|
|
@@ -17,7 +17,8 @@ | |
"0.3.0", | ||
"0.4.0", | ||
"0.4.1", | ||
"0.4.2" | ||
"0.4.2", | ||
"0.5.0" | ||
], | ||
"yanked_versions": {} | ||
} |