Skip to content

Commit

Permalink
Publish bazel-contrib/[email protected]
Browse files Browse the repository at this point in the history
  • Loading branch information
purkhusid committed Nov 14, 2024
1 parent 8754bcc commit 40fd378
Show file tree
Hide file tree
Showing 5 changed files with 81 additions and 1 deletion.
44 changes: 44 additions & 0 deletions modules/rules_dotnet/0.17.3/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
"rules_dotnet"

module(
name = "rules_dotnet",
version = "0.17.3",
bazel_compatibility = [">=7.0.0"],
compatibility_level = 0,
)

dotnet = use_extension("@rules_dotnet//dotnet:extensions.bzl", "dotnet")
dotnet.toolchain(dotnet_version = "9.0.100")
use_repo(dotnet, "dotnet_toolchains")

register_toolchains("@dotnet_toolchains//:all")

paket2bazel_dependencies_extension = use_extension("//dotnet:paket.paket2bazel_dependencies_extension.bzl", "paket2bazel_dependencies_extension")
use_repo(paket2bazel_dependencies_extension, "paket.paket2bazel_dependencies")

rules_dotnet_nuget_packages_extension = use_extension("//dotnet:paket.rules_dotnet_nuget_packages_extension.bzl", "rules_dotnet_nuget_packages_extension")
use_repo(rules_dotnet_nuget_packages_extension, "paket.rules_dotnet_nuget_packages")

targeting_packs_extension = use_extension("//dotnet/private/sdk/targeting_packs:dotnet.targeting_packs_extension.bzl", "targeting_packs_extension")
use_repo(targeting_packs_extension, "dotnet.targeting_packs")

runtime_packs_extension = use_extension("//dotnet/private/sdk/runtime_packs:dotnet.runtime_packs_extension.bzl", "runtime_packs_extension")
use_repo(runtime_packs_extension, "dotnet.runtime_packs")

apphost_packs_extension = use_extension("//dotnet/private/sdk/apphost_packs:dotnet.apphost_packs_extension.bzl", "apphost_packs_extension")
use_repo(apphost_packs_extension, "dotnet.apphost_packs")

bazel_dep(name = "bazel_skylib", version = "1.7.1")
bazel_dep(name = "platforms", version = "0.0.10")
bazel_dep(name = "aspect_bazel_lib", version = "2.9.1")

# Dev dependencies
bazel_dep(name = "stardoc", version = "0.7.1", dev_dependency = True)
bazel_dep(name = "rules_pkg", version = "1.0.1", dev_dependency = True)
bazel_dep(name = "gazelle", version = "0.39.1", dev_dependency = True, repo_name = "bazel_gazelle")
bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.7.1", dev_dependency = True)
bazel_dep(name = "rules_cc", version = "0.0.12", dev_dependency = True)
bazel_dep(name = "rules_testing", version = "0.6.0", dev_dependency = True)

rules_dotnet_dev_nuget_packages_extension = use_extension("//dotnet:paket.rules_dotnet_dev_nuget_packages_extension.bzl", "rules_dotnet_dev_nuget_packages_extension", dev_dependency = True)
use_repo(rules_dotnet_dev_nuget_packages_extension, "paket.rules_dotnet_dev_nuget_packages")
14 changes: 14 additions & 0 deletions modules/rules_dotnet/0.17.3/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
@@ -1,9 +1,9 @@
"rules_dotnet"

module(
name = "rules_dotnet",
- version = "0.0.0",
+ version = "0.17.3",
bazel_compatibility = [">=7.0.0"],
compatibility_level = 0,
)

12 changes: 12 additions & 0 deletions modules/rules_dotnet/0.17.3/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
bcr_test_module:
module_path: "e2e/smoke"
matrix:
platform: ["windows", "ubuntu1804", "macos", "macos_arm64", "ubuntu2004_arm64", "windows_arm64"]
bazel: ["7.x"]
tasks:
run_tests:
name: "Run smoke test"
platform: ${{ platform }}
bazel: ${{ bazel }}
test_targets:
- "//..."
9 changes: 9 additions & 0 deletions modules/rules_dotnet/0.17.3/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"integrity": "sha256-rvFY6kqBgpWy3kI68DzWED0J5vcHDH0pQEvXdrYAKFE=",
"strip_prefix": "rules_dotnet-0.17.3",
"url": "https://github.com/bazel-contrib/rules_dotnet/releases/download/v0.17.3/rules_dotnet-v0.17.3.tar.gz",
"patches": {
"module_dot_bazel_version.patch": "sha256-bUiG61lfG7lu7C+KA4dEQY4ruC9AC5kijGS+eQvnwUA="
},
"patch_strip": 1
}
3 changes: 2 additions & 1 deletion modules/rules_dotnet/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"0.15.0",
"0.15.1",
"0.16.0",
"0.16.1"
"0.16.1",
"0.17.3"
],
"yanked_versions": {}
}

0 comments on commit 40fd378

Please sign in to comment.