Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
48 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,25 @@ | ||
module( | ||
name = "rules_pkg", | ||
version = "0.10.0", # Must sync with version.bzl. | ||
compatibility_level = 1, | ||
repo_name = "rules_pkg", | ||
) | ||
|
||
# Do not update to newer versions until you need a specific new feature. | ||
bazel_dep(name = "rules_license", version = "0.0.4") | ||
bazel_dep(name = "rules_python", version = "0.24.0") | ||
bazel_dep(name = "bazel_skylib", version = "1.2.0") | ||
|
||
# Only for development | ||
bazel_dep(name = "platforms", version = "0.0.5", dev_dependency = True) | ||
bazel_dep(name = "stardoc", version = "0.5.3", dev_dependency = True) | ||
bazel_dep(name = "rules_cc", version = "0.0.9", dev_dependency = True) | ||
|
||
# Find the system rpmbuild if one is available. | ||
find_rpm = use_extension("//toolchains/rpm:rpmbuild_configure.bzl", "find_system_rpmbuild_bzlmod", dev_dependency = True) | ||
use_repo(find_rpm, "rules_pkg_rpmbuild") | ||
|
||
register_toolchains( | ||
"@rules_pkg_rpmbuild//:all", | ||
dev_dependency = True, | ||
) |
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 @@ | ||
build_targets: &build_targets | ||
- '@rules_pkg//...' | ||
# Re-enable those targets when toolchain registration is supported. | ||
- '-@rules_pkg//toolchains/...' | ||
- '-@rules_pkg//pkg:make_rpm' | ||
|
||
platforms: | ||
centos7: | ||
build_targets: *build_targets | ||
debian10: | ||
build_targets: *build_targets | ||
macos: | ||
build_targets: *build_targets | ||
ubuntu2004: | ||
build_targets: *build_targets | ||
windows: | ||
build_targets: *build_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,4 @@ | ||
{ | ||
"url": "https://github.com/bazelbuild/rules_pkg/releases/download/0.10.0/rules_pkg-0.10.0.tar.gz", | ||
"integrity": "sha256-6TtzCVkcq9aIKKG83a3hwViVTTI74iBQY+cYdjYnaCo=" | ||
} |
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 |
---|---|---|
|
@@ -9,7 +9,8 @@ | |
"0.7.0", | ||
"0.8.1", | ||
"0.9.0", | ||
"0.9.1" | ||
"0.9.1", | ||
"0.10.0" | ||
], | ||
"yanked_versions": {} | ||
} |