Merge pull request #991 from lbeckman314/patch-1

Add `--path .` to cargo install commands.
This commit is contained in:
Steve Klabnik 2019-08-01 18:37:33 -05:00 committed by GitHub
commit 77af889a2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -93,7 +93,7 @@ Now we've got the basics running, we want to actually use it. First, install the
program. program.
```shell ```shell
$ cargo install $ cargo install --path .
``` ```
Then `cd` to the particular book you'd like to count the words of and update its Then `cd` to the particular book you'd like to count the words of and update its
@ -304,7 +304,7 @@ like this:
Now, if we reinstall the backend and build a book, Now, if we reinstall the backend and build a book,
```shell ```shell
$ cargo install --force $ cargo install --path . --force
$ mdbook build /path/to/book $ mdbook build /path/to/book
... ...
2018-01-16 21:21:39 [INFO] (mdbook::renderer): Invoking the "wordcount" renderer 2018-01-16 21:21:39 [INFO] (mdbook::renderer): Invoking the "wordcount" renderer