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
This commit is contained in:
AutomatedTester 2016-01-06 17:43:06 +00:00
Родитель a356ff9e7d
Коммит 1e289df772
1 изменённых файлов: 15 добавлений и 6 удалений

Просмотреть файл

@ -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] [--] [<args>...]
```