Merge pull request #30 from herrernst/rename-binary

use a more descriptive binary name
This commit is contained in:
Paul Lietar 2016-01-03 18:07:34 -07:00
commit 2eeb1c9817
2 changed files with 2 additions and 2 deletions

View file

@ -9,7 +9,7 @@ name = "librespot"
path = "src/lib.rs" path = "src/lib.rs"
[[bin]] [[bin]]
name = "main" name = "librespot"
path = "src/main.rs" path = "src/main.rs"
[dependencies.librespot-protocol] [dependencies.librespot-protocol]

View file

@ -28,7 +28,7 @@ cargo build
A sample program implementing a headless Spotify Connect receiver is provided. A sample program implementing a headless Spotify Connect receiver is provided.
Once you've built *librespot*, run it using : Once you've built *librespot*, run it using :
```shell ```shell
target/debug/main -a APPKEY -u USERNAME -c CACHEDIR -n DEVICENAME target/debug/librespot -a APPKEY -u USERNAME -c CACHEDIR -n DEVICENAME
``` ```
where `APPKEY` is the path to a Spotify application key file, `USERNAME` is your where `APPKEY` is the path to a Spotify application key file, `USERNAME` is your
Spotify username, `CACHEDIR` is the path to directory where data will be cached, Spotify username, `CACHEDIR` is the path to directory where data will be cached,