-
-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More cleanup of .NET bindings project files
These changes should allow the .NET bindings to go from a clean directory to a fully built and configured .NET bindings with properly embedded resources, providing that the machine is properly configured to build the project from the command line with Bazel. This eliminates a barrier to entry with respect to using a .NET IDE (Visual Studio and Visual Studio for Mac) to build the bindings without taking some manual steps first (like building the JavaScript automation atoms and the web server for running tests against).
- Loading branch information
Showing
15 changed files
with
98 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
@echo off | ||
if not exist "%1..\..\..\bazel-bin\javascript\webdriver\atoms\get-attribute.js" ( | ||
echo Building getAttribute atom | ||
pushd "%1..\..\.." | ||
bazel build //javascript/webdriver/atoms:get-attribute.js | ||
popd | ||
) | ||
|
||
if not exist "%1..\..\..\bazel-bin\javascript\atoms\fragments\is-displayed.js" ( | ||
echo Building isDisplayed atom | ||
pushd "%1..\..\.." | ||
bazel build //javascript/atoms/fragments:is-displayed.js | ||
popd | ||
) | ||
|
||
if not exist "%1..\..\..\bazel-bin\javascript\atoms\fragments\find-elements.js" ( | ||
echo Building findElements atom | ||
pushd "%1..\..\.." | ||
bazel build //javascript/atoms/fragments:find-elements.js | ||
popd | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/bin/bash | ||
if [[ ! -f "$1..\..\..\bazel-bin\javascript\webdriver\atoms\get-attribute.js" ]] | ||
then | ||
echo "Building getAttribute atom" | ||
bazel build //javascript/webdriver/atoms:get-attribute.js | ||
fi | ||
|
||
if [[ ! -f "$1..\..\..\bazel-bin\javascript\atoms\fragments\is-displayed.js" ]] | ||
then | ||
echo "Building isDisplayed atom" | ||
bazel build //javascript/atoms/fragments:is-displayed.js | ||
fi | ||
|
||
if if [[ ! -f "$1..\..\..\bazel-bin\javascript\atoms\fragments\find-elements.js" ]] | ||
then | ||
echo "Building findElements atom" | ||
bazel build //javascript/atoms/fragments:find-elements.js | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
dotnet/test/common/WebDriver.Common.Tests.csproj.prebuild.cmd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
if not exist "%1..\..\..\bazel-bin\java\client\test\org\openqa\selenium\environment\appserver_deploy.jar" ( | ||
echo Building test web server | ||
pushd "%1..\..\.." | ||
bazel build //java/client/test/org/openqa/selenium/environment:appserver_deploy.jar | ||
popd | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash | ||
if [[ ! -f "%1..\..\..\bazel-bin\java\client\test\org\openqa\selenium\environment\appserver_deploy.jar" ]] | ||
then | ||
echo "Building test web server" | ||
bazel build //java/client/test/org/openqa/selenium/environment:appserver_deploy.jar | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters