Skip to content

Commit

Permalink
depend_on_what_you_use@0.5.0 (#2735)
Browse files Browse the repository at this point in the history
martis42 authored Sep 9, 2024
1 parent e6bf296 commit 6bc5ad8
Showing 5 changed files with 60 additions and 1 deletion.
27 changes: 27 additions & 0 deletions modules/depend_on_what_you_use/0.5.0/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
module(
name = "depend_on_what_you_use",
version = "0.5.0",
# Keep in sync with setup_step_2.bzl
bazel_compatibility = [">=5.4.0"],
)

bazel_dep(name = "rules_cc", version = "0.0.8")
bazel_dep(name = "rules_python", version = "0.27.1")
bazel_dep(name = "bazel_skylib", version = "1.7.1")

non_module_dependencies = use_extension("//third_party:extensions.bzl", "non_module_dependencies")
use_repo(non_module_dependencies, "dwyu_pcpp")

###
### Development Dependencies
###

bazel_dep(name = "aspect_bazel_lib", version = "2.8.1", dev_dependency = True)
bazel_dep(name = "stardoc", version = "0.7.0", dev_dependency = True)

python = use_extension(
"@rules_python//python/extensions:python.bzl",
"python",
dev_dependency = True,
)
python.toolchain(python_version = "3.8")
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
--- MODULE.bazel
+++ MODULE.bazel
@@ -1,5 +1,6 @@
module(
name = "depend_on_what_you_use",
+ version = "0.5.0",
# Keep in sync with setup_step_2.bzl
bazel_compatibility = [">=5.4.0"],
)
13 changes: 13 additions & 0 deletions modules/depend_on_what_you_use/0.5.0/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
bcr_test_module:
module_path: "examples"
matrix:
platform: [ "macos", "ubuntu2204", "windows" ]
# DWYU supports Bazel 5.4.0, but only via WORKSPACE
bazel: [ "6.x", "7.x", "rolling" ]
tasks:
verify_examples:
name: "Verify examples"
platform: ${{ platform }}
bazel: ${{ bazel }}
shell_commands:
- python test.py
9 changes: 9 additions & 0 deletions modules/depend_on_what_you_use/0.5.0/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"url": "https://github.com/martis42/depend_on_what_you_use/releases/download/0.5.0/depend_on_what_you_use-0.5.0.tar.gz",
"integrity": "sha256-ObEGAwqeedsvtS3KG2b+x2GNk+Df+YbuVfOxdv2XnJE=",
"strip_prefix": "depend_on_what_you_use-0.5.0",
"patch_strip": 0,
"patches": {
"module_dot_bazel.patch": "sha256-eJVx1/VPng56ip5vMLOnUDpV1XR6wLzYvJluQHdzcXo="
}
}
3 changes: 2 additions & 1 deletion modules/depend_on_what_you_use/metadata.json
Original file line number Diff line number Diff line change
@@ -14,7 +14,8 @@
"0.1.0",
"0.2.0",
"0.3.0",
"0.4.0"
"0.4.0",
"0.5.0"
],
"yanked_versions": {}
}

0 comments on commit 6bc5ad8

Please sign in to comment.