Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add rules_license 0.0.4 #432

Merged
merged 1 commit into from
Feb 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions modules/rules_license/0.0.4/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
module(
name = "rules_license",
version = "0.0.4", # Keep in sync with version.bzl
compatibility_level = 1,
)

# NOTE: rules_license must not depend on any other repositories if you are
# just using basic rules under //rules/... and //licenses/...

# TODO(aiuto): Create an extension to enable the rules under //tools/...
# That will require rules_python, which we do not want to force on people who
# do not need //tools.

# Only for development
bazel_dep(name = "rules_pkg", version = "0.7.0", dev_dependency = True)
bazel_dep(name = "stardoc", version = "0.5.3", dev_dependency = True)
19 changes: 19 additions & 0 deletions modules/rules_license/0.0.4/patches/module_dot_bazel.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
--- MODULE.bazel
+++ MODULE.bazel
@@ -0,0 +1,16 @@
+module(
+ name = "rules_license",
+ version = "0.0.4", # Keep in sync with version.bzl
+ compatibility_level = 1,
+)
+
+# NOTE: rules_license must not depend on any other repositories if you are
+# just using basic rules under //rules/... and //licenses/...
+
+# TODO(aiuto): Create an extension to enable the rules under //tools/...
+# That will require rules_python, which we do not want to force on people who
+# do not need //tools.
+
+# Only for development
+bazel_dep(name = "rules_pkg", version = "0.7.0", dev_dependency = True)
+bazel_dep(name = "stardoc", version = "0.5.3", dev_dependency = True)
13 changes: 13 additions & 0 deletions modules/rules_license/0.0.4/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
matrix:
platform:
- centos7
- debian10
- ubuntu2004
- macos
- windows
tasks:
verify_targets:
name: Verify build targets
platform: ${{ platform }}
build_targets:
- '@rules_license//:license'
8 changes: 8 additions & 0 deletions modules/rules_license/0.0.4/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"url": "https://github.com/bazelbuild/rules_license/releases/download/0.0.4/rules_license-0.0.4.tar.gz",
"integrity": "sha256-YVfh5oN4Uy0CQezRXTxF9uXP2Y/BCEYEVQn7KnzJ44E=",
"patch_strip": 0,
"patches": {
"module_dot_bazel.patch": "sha256-2O91O30x+WJKMjIsPWLJJoOK5W+4CpMWdFoCulGUprA="
}
}
3 changes: 2 additions & 1 deletion modules/rules_license/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
],
"versions": [
"0.0.2",
"0.0.3"
"0.0.3",
"0.0.4"
],
"yanked_versions": {}
}