Skip to content

Commit

Permalink
Updating Bazel build files to refer to correct assemblies
Browse files Browse the repository at this point in the history
  • Loading branch information
jimevans committed Jan 23, 2020
1 parent e866f05 commit 52b6789
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
8 changes: 4 additions & 4 deletions dotnet/src/support/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ load(
"PageObjects/**/*.cs",
"UI/*.cs",
]),
out = "merged/{}/WebDriver.Support.dll".format(framework),
out = "merged/{}/WebDriver.Support".format(framework),
target_frameworks = [
"{}".format(framework),
],
Expand All @@ -40,7 +40,7 @@ csharp_library(
"PageObjects/**/*.cs",
"UI/*.cs",
]),
out = "merged/netstandard2.0/WebDriver.Support.dll",
out = "merged/netstandard2.0/WebDriver.Support",
target_frameworks = [
"netstandard2.0",
],
Expand All @@ -59,7 +59,7 @@ csharp_library(
"PageObjects/**/*.cs",
"UI/*.cs",
]),
out = "strongnamed/{}/WebDriver.Support.dll".format(framework),
out = "strongnamed/{}/WebDriver.Support".format(framework),
keyfile = "//dotnet:WebDriver.snk",
target_frameworks = [
"{}".format(framework),
Expand All @@ -84,7 +84,7 @@ csharp_library(
"PageObjects/**/*.cs",
"UI/*.cs",
]),
out = "strongnamed/netstandard2.0/WebDriver.Support.dll",
out = "strongnamed/netstandard2.0/WebDriver.Support",
keyfile = "//dotnet:WebDriver.snk",
target_frameworks = [
"netstandard2.0",
Expand Down
4 changes: 4 additions & 0 deletions dotnet/src/webdriver/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ load(
"@net//:System.Runtime.Serialization",
"@net//:System.Xml",
],
out = "WebDriver",
) for framework in SUPPORTED_NET_FRAMEWORKS]

csharp_library(
Expand Down Expand Up @@ -80,6 +81,7 @@ csharp_library(
deps = [
"@json.net//:Newtonsoft.Json",
],
out = "WebDriver",
)

[csharp_library(
Expand Down Expand Up @@ -122,6 +124,7 @@ csharp_library(
"@net//:System.Runtime.Serialization",
"@net//:System.Xml",
],
out = "WebDriver",
) for framework in SUPPORTED_NET_FRAMEWORKS]

csharp_library(
Expand Down Expand Up @@ -155,6 +158,7 @@ csharp_library(
deps = [
"@json.net//:Newtonsoft.Json",
],
out = "WebDriver",
)

[merged_assembly(
Expand Down
8 changes: 4 additions & 4 deletions dotnet/src/webdriverbackedselenium/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ load(
"*.cs",
"Internal/**/*.cs",
]),
out = "merged/{}/Selenium.WebDriverBackedSelenium.dll".format(framework),
out = "merged/{}/Selenium.WebDriverBackedSelenium".format(framework),
resources = [
"//java/client/src/com/thoughtworks/selenium/webdriven:htmlutils.js",
"//java/client/src/com/thoughtworks/selenium/webdriven:injectableSelenium.js",
Expand Down Expand Up @@ -53,7 +53,7 @@ csharp_library(
"*.cs",
"Internal/**/*.cs",
]),
out = "merged/netstandard2.0/Selenium.WebDriverBackedSelenium.dll",
out = "merged/netstandard2.0/Selenium.WebDriverBackedSelenium",
resources = [
"//java/client/src/com/thoughtworks/selenium/webdriven:htmlutils.js",
"//java/client/src/com/thoughtworks/selenium/webdriven:injectableSelenium.js",
Expand Down Expand Up @@ -84,7 +84,7 @@ csharp_library(
"*.cs",
"Internal/**/*.cs",
]),
out = "strongnamed/{}/Selenium.WebDriverBackedSelenium.dll".format(framework),
out = "strongnamed/{}/Selenium.WebDriverBackedSelenium".format(framework),
keyfile = "//dotnet:WebDriver.snk",
resources = [
"//java/client/src/com/thoughtworks/selenium/webdriven:htmlutils.js",
Expand Down Expand Up @@ -125,7 +125,7 @@ csharp_library(
"*.cs",
"Internal/**/*.cs",
]),
out = "strongnamed/netstandard2.0/Selenium.WebDriverBackedSelenium.dll",
out = "strongnamed/netstandard2.0/Selenium.WebDriverBackedSelenium",
keyfile = "//dotnet:WebDriver.snk",
resources = [
"//java/client/src/com/thoughtworks/selenium/webdriven:htmlutils.js",
Expand Down

0 comments on commit 52b6789

Please sign in to comment.