Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
martis42 committed Dec 20, 2024
1 parent 8b8489e commit 0c94d3f
Show file tree
Hide file tree
Showing 5 changed files with 60 additions and 1 deletion.
27 changes: 27 additions & 0 deletions modules/depend_on_what_you_use/0.6.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.6.0",
# Keep in sync with setup_step_2.bzl, .bcr/presubmit.yml and the README.md
bazel_compatibility = [">=6.0.0"],
)

bazel_dep(name = "rules_cc", version = "0.0.15")
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.10.0", dev_dependency = True)
bazel_dep(name = "stardoc", version = "0.7.2", 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,10 @@
--- MODULE.bazel
+++ MODULE.bazel
@@ -1,6 +1,6 @@
module(
name = "depend_on_what_you_use",
- version = "0.0.0",
+ version = "0.6.0",
# Keep in sync with setup_step_2.bzl, .bcr/presubmit.yml and the README.md
bazel_compatibility = [">=6.0.0"],
)
12 changes: 12 additions & 0 deletions modules/depend_on_what_you_use/0.6.0/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
bcr_test_module:
module_path: "examples"
matrix:
platform: [ "macos", "ubuntu2204", "windows" ]
bazel: [ "6.x", "7.x", "8.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.6.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.6.0/depend_on_what_you_use-0.6.0.tar.gz",
"integrity": "sha256-K94gzsmT+tn5mJqqwGkAGI2fzJ8jwd46WzJsDTHMFFc=",
"strip_prefix": "depend_on_what_you_use-0.6.0",
"patch_strip": 0,
"patches": {
"module_dot_bazel.patch": "sha256-mwO4z+8D3I9CHOjS64Jk0bvHYisoIlYu5IHNj2tXk/8="
}
}
3 changes: 2 additions & 1 deletion modules/depend_on_what_you_use/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"0.2.0",
"0.3.0",
"0.4.0",
"0.5.0"
"0.5.0",
"0.6.0"
],
"yanked_versions": {}
}

0 comments on commit 0c94d3f

Please sign in to comment.