From 1e289df772aef03436814caf43840615626277d6 Mon Sep 17 00:00:00 2001 From: AutomatedTester Date: Wed, 6 Jan 2016 17:43:06 +0000 Subject: [PATCH] geckodriver: Correct build steps in Readme The steps in the document only created debug builds. Added more details on how to build for release. Source-Repo: https://github.com/mozilla/geckodriver Source-Revision: a79e446c2ebe5ce7a9d3aeaa363c4fd1152b90d4 --HG-- extra : rebase_source : 816c78c93077c431f59bb30d1934c8869eb1e7d6 --- testing/geckodriver/README.md | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/testing/geckodriver/README.md b/testing/geckodriver/README.md index 19311cf98296..6ae46080c6eb 100644 --- a/testing/geckodriver/README.md +++ b/testing/geckodriver/README.md @@ -1,20 +1,29 @@ -wires -================ +# Wires -> WebDriver <-> Marionette proxy + +WebDriver <-> Marionette proxy ## Build Project Download rust from [rust-lang.org](https://www.rust-lang.org/) -To build the project: +To build the project for release: -``` -cargo build +```bash +cargo build --no-default-features --release ``` +If you want to build a debug version just use: + +```bash +cargo build --no-default-features +``` +The `--no-default-features` argument is required to compile on Windows due to the + way dependencies need to be compiled. ## Usage +To use wires, follow the steps on [MDN](https://developer.mozilla.org/en-US/docs/Mozilla/QA/Marionette/WebDriver) or you can use the steps below and use a cURL client. + ``` cargo run [options] [--] [...] ```