Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Release: https://github.com/yuyawk/libc_replacer/releases/tag/0.1.0

_Automated by [Publish to BCR](https://github.com/apps/publish-to-bcr)_

Co-authored-by: publish-to-bcr-bot <112732530+publish-to-bcr-bot[bot]@users.noreply.github.com>
  • Loading branch information
publish-to-bcr-bot[bot] authored Oct 29, 2024
1 parent 26cc962 commit dee0784
Show file tree
Hide file tree
Showing 5 changed files with 101 additions and 0 deletions.
45 changes: 45 additions & 0 deletions modules/libc_replacer/0.1.0/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
"""Module for `libc_replacer`.
"""

module(
name = "libc_replacer",
version = "0.1.0",
)

################################
#
# Dev-dependencies
#
################################

# `toolchains_musl` for C/C++ toolchain
bazel_dep(name = "toolchains_musl", version = "0.1.20", dev_dependency = True)

toolchains_musl = use_extension(
"@toolchains_musl//:toolchains_musl.bzl",
"toolchains_musl",
dev_dependency = True,
)
use_repo(toolchains_musl, "musl_toolchains_hub")

register_toolchains(
"@musl_toolchains_hub//:all",
dev_dependency = True,
)

# `buildifier_prebuilt` for buildifier
bazel_dep(name = "buildifier_prebuilt", version = "7.3.1", dev_dependency = True)

# `clang_tools` for clang-tidy and clang-format
bazel_dep(name = "clang_tools", version = "", dev_dependency = True)
local_path_override(
module_name = "clang_tools",
path = "development/clang_tools",
)

# `testing` for Testing utilities.
bazel_dep(name = "testing", version = "", dev_dependency = True)
local_path_override(
module_name = "testing",
path = "development/testing",
)
14 changes: 14 additions & 0 deletions modules/libc_replacer/0.1.0/patches/module_dot_bazel_version.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
===================================================================
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -2,9 +2,9 @@
"""

module(
name = "libc_replacer",
- version = "0.0.0",
+ version = "0.1.0",
)

################################
#
16 changes: 16 additions & 0 deletions modules/libc_replacer/0.1.0/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
bcr_test_module:
module_path: "integration_test/bazel"
matrix:
platform:
- "debian10"
- "ubuntu2004"
bazel:
- "7.x"
tasks:
run_tests:
name: "Run test module"
platform: ${{ platform }}
bazel: ${{ bazel }}
test_targets:
- "//..."
9 changes: 9 additions & 0 deletions modules/libc_replacer/0.1.0/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"integrity": "sha256-JKr6ngAmA4S+FLcj3RPO6gmQIQW7NqccyO56FC7fBcA=",
"strip_prefix": "libc_replacer-0.1.0",
"url": "https://github.com/yuyawk/libc_replacer/releases/download/0.1.0/libc_replacer-0.1.0.tar.gz",
"patches": {
"module_dot_bazel_version.patch": "sha256-SNVWAYeM6YXTfMscruEfNCFc83l3wTxjXKiQtUbJa0o="
},
"patch_strip": 1
}
17 changes: 17 additions & 0 deletions modules/libc_replacer/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"homepage": "https://github.com/yuyawk/libc_replacer",
"maintainers": [
{
"name": "yuyawk",
"email": "[email protected]",
"github": "yuyawk"
}
],
"repository": [
"github:yuyawk/libc_replacer"
],
"versions": [
"0.1.0"
],
"yanked_versions": {}
}

0 comments on commit dee0784

Please sign in to comment.