Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[build] update rules_dotnet to 0.15.1 #14096

Merged
merged 1 commit into from
Jun 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ bazel_dep(name = "bazel_skylib", version = "1.5.0")
bazel_dep(name = "buildifier_prebuilt", version = "6.4.0")
bazel_dep(name = "contrib_rules_jvm", version = "0.24.0")
bazel_dep(name = "platforms", version = "0.0.10")
bazel_dep(name = "rules_dotnet", version = "0.14.0")
bazel_dep(name = "rules_dotnet", version = "0.15.1")
bazel_dep(name = "rules_java", version = "7.4.0")
bazel_dep(name = "rules_jvm_external", version = "6.1")
bazel_dep(name = "rules_nodejs", version = "6.0.5")
Expand Down
57 changes: 0 additions & 57 deletions dotnet/paket.bzl

This file was deleted.

94 changes: 47 additions & 47 deletions dotnet/paket.nuget.bzl

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dotnet/paket.nuget_extension.bzl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"Generated by paket2bazel"
"Generated"

load(":paket.nuget.bzl", _nuget = "nuget")

Expand Down
6 changes: 0 additions & 6 deletions dotnet/src/support/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ csharp_library(
target_frameworks = [
"netstandard2.0",
],
targeting_packs = [
framework("nuget", "NETStandard.Library"),
],
visibility = [
"//dotnet:__subpackages__",
],
Expand Down Expand Up @@ -82,9 +79,6 @@ csharp_library(
target_frameworks = [
"netstandard2.0",
],
targeting_packs = [
framework("nuget", "NETStandard.Library"),
],
visibility = [
"//dotnet:__subpackages__",
],
Expand Down
6 changes: 0 additions & 6 deletions dotnet/src/webdriver/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,6 @@ csharp_library(
target_frameworks = [
"netstandard2.0",
],
targeting_packs = [
framework("nuget", "NETStandard.Library"),
],
visibility = [
"//dotnet:__subpackages__",
],
Expand Down Expand Up @@ -79,9 +76,6 @@ csharp_library(
target_frameworks = [
"netstandard2.0",
],
targeting_packs = [
framework("nuget", "NETStandard.Library"),
],
visibility = [
"//dotnet:__subpackages__",
],
Expand Down
6 changes: 0 additions & 6 deletions dotnet/test/common/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@ csharp_library(
"//common/manager:selenium-manager-macos",
],
target_frameworks = ["net7.0"],
targeting_packs = [
framework("nuget", "Microsoft.NETCore.App.Ref"),
],
visibility = [
"//dotnet/test:__subpackages__",
],
Expand Down Expand Up @@ -89,9 +86,6 @@ dotnet_nunit_test_suite(
":test-data",
],
target_frameworks = ["net7.0"],
targeting_packs = [
framework("nuget", "Microsoft.NETCore.App.Ref"),
],
deps = [
":fixtures",
"//dotnet/src/webdriver",
Expand Down
6 changes: 0 additions & 6 deletions dotnet/test/support/Events/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ dotnet_nunit_test_suite(
size = "small",
srcs = SMALL_TESTS,
target_frameworks = ["net7.0"],
targeting_packs = [
framework("nuget", "NETStandard.Library"),
],
deps = [
"//dotnet/src/support",
"//dotnet/src/webdriver",
Expand Down Expand Up @@ -40,9 +37,6 @@ dotnet_nunit_test_suite(
"//dotnet/test/common:test-data",
],
target_frameworks = ["net7.0"],
targeting_packs = [
framework("nuget", "NETStandard.Library"),
],
deps = [
"//dotnet/src/support",
"//dotnet/src/webdriver",
Expand Down
3 changes: 0 additions & 3 deletions dotnet/test/support/Extensions/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ dotnet_nunit_test_suite(
size = "small",
srcs = glob(["*.cs"]),
target_frameworks = ["net7.0"],
targeting_packs = [
framework("nuget", "NETStandard.Library"),
],
deps = [
"//dotnet/src/support",
"//dotnet/src/webdriver",
Expand Down
6 changes: 0 additions & 6 deletions dotnet/test/support/UI/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ dotnet_nunit_test_suite(
size = "small",
srcs = SMALL_TESTS,
target_frameworks = ["net7.0"],
targeting_packs = [
framework("nuget", "NETStandard.Library"),
],
deps = [
"//dotnet/src/support",
"//dotnet/src/webdriver",
Expand Down Expand Up @@ -45,9 +42,6 @@ dotnet_nunit_test_suite(
"//dotnet/test/common:test-data",
],
target_frameworks = ["net7.0"],
targeting_packs = [
framework("nuget", "NETStandard.Library"),
],
deps = [
"//dotnet/src/support",
"//dotnet/src/webdriver",
Expand Down
2 changes: 1 addition & 1 deletion dotnet/update-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
(
cd "$SCRIPT_DIR" || exit 1
(dotnet tool restore && dotnet tool run paket install)
bazel run @rules_dotnet//tools/paket2bazel:paket2bazel.exe -- --dependencies-file "$(pwd)"/paket.dependencies --output-folder "$(pwd)"
bazel run @rules_dotnet//tools/paket2bazel:paket2bazel -- --dependencies-file "$(pwd)"/paket.dependencies --output-folder "$(pwd)"
)
3 changes: 0 additions & 3 deletions third_party/dotnet/devtools/src/generator/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ csharp_binary(
srcs = glob(["**/*.cs"]),
# Used as a tool in our build, so just target one framework
target_frameworks = ["net7.0"],
targeting_packs = [
framework("nuget", "Microsoft.NETCore.App.Ref"),
],
visibility = [
"//dotnet:__subpackages__",
],
Expand Down
Loading