Skip to content

Commit 15ab596

Browse files
Release: https://github.com/seh/rules_cue/releases/tag/v0.13.0 _Automated by [Publish to BCR](https://github.com/apps/publish-to-bcr)_ --------- Co-authored-by: Steven E. Harris <[email protected]>
1 parent 2116837 commit 15ab596

File tree

5 files changed

+83
-1
lines changed

5 files changed

+83
-1
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
module(
2+
name = "rules_cue",
3+
version = "0.13.0",
4+
)
5+
6+
bazel_dep(name = "bazel_skylib", version = "1.7.1")
7+
bazel_dep(name = "platforms", version = "0.0.11")
8+
bazel_dep(name = "rules_go", version = "0.54.0")
9+
10+
go_sdk = use_extension("@rules_go//go:extensions.bzl", "go_sdk")
11+
go_sdk.download(
12+
version = "1.24.2",
13+
)
14+
15+
bazel_dep(name = "rules_shell", version = "0.4.0")
16+
17+
cue = use_extension("//cue:extensions.bzl", "cue")
18+
use_repo(
19+
cue,
20+
"cue_tool_toolchains",
21+
)
22+
23+
register_toolchains("@cue_tool_toolchains//:all")
24+
25+
bazel_dep(name = "gazelle", version = "0.43.0", dev_dependency = True)
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
===================================================================
2+
--- a/MODULE.bazel
3+
+++ b/MODULE.bazel
4+
@@ -1,7 +1,7 @@
5+
module(
6+
name = "rules_cue",
7+
- version = "0.0.0",
8+
+ version = "0.13.0",
9+
)
10+
11+
bazel_dep(name = "bazel_skylib", version = "1.7.1")
12+
bazel_dep(name = "platforms", version = "0.0.11")
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
matrix: &matrix
2+
platform:
3+
- debian10
4+
- macos
5+
- rockylinux8
6+
- ubuntu2004
7+
# Some valid invocations of the "cue" tool can't succeed (e.g. use
8+
# of the "path" and "expression" rules attributes) until we resolve
9+
# or find a reliable workaround for the following issue:
10+
#
11+
# https://github.com/bazelbuild/bazel/issues/17487
12+
#
13+
# Until then, withdraw promised support for using this module on
14+
# Windows.
15+
#- windows
16+
bazel:
17+
- 7.x
18+
- 8.x
19+
tasks:
20+
verify_targets:
21+
name: Verify that all tests succeed
22+
platform: ${{ platform }}
23+
bazel: ${{ bazel }}
24+
test_targets:
25+
- '@rules_cue//test:all'
26+
bcr_test_module:
27+
module_path: examples/bzlmod
28+
matrix: *matrix
29+
tasks:
30+
run_test_module:
31+
name: Run test module
32+
platform: ${{ platform }}
33+
bazel: ${{ bazel }}
34+
build_targets:
35+
- //root
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"integrity": "sha256-TO0j0KmLn1K7E1njmYKNm92IbvLk7p6zgthMiHhcZKw=",
3+
"strip_prefix": "rules_cue-0.13.0",
4+
"url": "https://github.com/seh/rules_cue/releases/download/v0.13.0/vcs-archive-v0.13.0.tar.gz",
5+
"patches": {
6+
"module_dot_bazel_version.patch": "sha256-3ym8TnLb+AXV6jIrANHBlhjE1mRjstsRVfb1S1pJsKM="
7+
},
8+
"patch_strip": 1
9+
}

modules/rules_cue/metadata.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727
"0.9.0",
2828
"0.10.0",
2929
"0.11.0",
30-
"0.12.0"
30+
"0.12.0",
31+
"0.13.0"
3132
],
3233
"yanked_versions": {}
3334
}

0 commit comments

Comments
 (0)