Skip to content

Commit

Permalink
add rules_license 0.0.4 (#432)
Browse files Browse the repository at this point in the history
  • Loading branch information
aiuto authored Feb 9, 2023
1 parent 79c6009 commit aa53874
Show file tree
Hide file tree
Showing 5 changed files with 58 additions and 1 deletion.
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": {}
}

0 comments on commit aa53874

Please sign in to comment.