-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate Ruby bindings from CrazyFun to Bazel
This commit adds rb/BUILD.bazel with all the tasks from rb/build.desc except for Ruby gem build/release. Those are missing and still need to be implemented. The rules are based on coinbase/rules_ruby but several patches were needed to be done to make it work for Selenium. These patches will be upstreamed and then we will drop the forked version. Targets were migrated to match existing tasks as closely as possible, so most of the current ./go commands can be replaced with bazel CLI. See the table below for example mappings. | crazyfun | bazel | | ./go //rb:gem:webdriver:build | (not implemented yet) | | ./go //rb:gem:webdriver:release | (not implemented yet) | | ./go //rb:common | bazel build //rb:common | | ./go //rb:chrome | bazel build //rb:chrome | | ./go //rb:chrome-test | bazel test //rb:chrome-test | | ./go //rb:remote-chrome-test | bazel test //rb:remote-chrome-test | | ./go //rb:unit-test | bazel test //rb:unit-test | | ./go //rb:unit-test focus=1 | bazel test --test_arg="-tfocus" //rb:unit-test | | ./go //rb:unit-test log=1 | bazel test --test_env="DEBUG=1" //rb:unit-test | | ./go //rb:docs | bazel run //rb:docs | | ./go //rb:lint | bazel run //rb:lint | By default, Bazel hides output for successfully passed tests, so if you want to print, run bazel test with --test_output=all or --test_output=streamed. CDP client code generator can now be run a simple Ruby script that accepts browser/JS protocol file paths as input parameters. This is necessary to the generator from rb_binary Bazel rule.
- Loading branch information
Showing
20 changed files
with
736 additions
and
28 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
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
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
Oops, something went wrong.