Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Release:
https://github.com/bazel-contrib/rules_dotnet/releases/tag/v0.16.0

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

Co-authored-by: Daniel P. Purkhús <[email protected]>
Co-authored-by: Yun Peng <[email protected]>
  • Loading branch information
3 people authored Oct 7, 2024
1 parent 700f39f commit a7c1939
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.16.0/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
"rules_dotnet"

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

dotnet = use_extension("@rules_dotnet//dotnet:extensions.bzl", "dotnet")
dotnet.toolchain(dotnet_version = "8.0.402")
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.6.0")
bazel_dep(name = "platforms", version = "0.0.10")
bazel_dep(name = "stardoc", version = "0.6.2")
bazel_dep(name = "aspect_bazel_lib", version = "2.9.1")

# Dev dependencies
bazel_dep(name = "rules_pkg", version = "0.10.1", dev_dependency = True)
bazel_dep(name = "gazelle", version = "0.33.0", dev_dependency = True, repo_name = "bazel_gazelle")
bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.6.0", dev_dependency = True)
bazel_dep(name = "rules_cc", version = "0.0.9", 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.16.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
@@ -1,9 +1,9 @@
"rules_dotnet"

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

12 changes: 12 additions & 0 deletions modules/rules_dotnet/0.16.0/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.16.0/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"integrity": "sha256-AoBOy7gQmoVaI7AN3LpchNoYR+DAJkrQLqB85dc0MP0=",
"strip_prefix": "rules_dotnet-0.16.0",
"url": "https://github.com/bazel-contrib/rules_dotnet/releases/download/v0.16.0/rules_dotnet-v0.16.0.tar.gz",
"patches": {
"module_dot_bazel_version.patch": "sha256-t4ldXMc/vgtry8jJEe0SUN2xsTQT5L6EPUcdnb6rT40="
},
"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 @@ -14,7 +14,8 @@
"versions": [
"0.14.0",
"0.15.0",
"0.15.1"
"0.15.1",
"0.16.0"
],
"yanked_versions": {}
}

0 comments on commit a7c1939

Please sign in to comment.