Remove Makefile

mdbook supports testing now, so there's no need.
This commit is contained in:
Steve Klabnik 2016-01-20 19:31:27 -05:00
parent c7a0e35b95
commit ec0d93fc4c
3 changed files with 4 additions and 16 deletions

View File

@ -8,7 +8,8 @@ rust:
before_script: before_script:
- cargo install mdbook - cargo install mdbook
script: script:
- PATH=$PATH:/home/travis/.cargo/bin make all - PATH=$PATH:/home/travis/.cargo/bin mdbook test
- PATH=$PATH:/home/travis/.cargo/bin mdbook build
after_success: after_success:
- test $TRAVIS_PULL_REQUEST == "false" && test $TRAVIS_BRANCH == "master" && bash deploy.sh - test $TRAVIS_PULL_REQUEST == "false" && test $TRAVIS_BRANCH == "master" && bash deploy.sh
env: env:

View File

@ -1,7 +0,0 @@
default:
mdbook build
test:
find . -name "*.md" | xargs -I{} rustdoc --test {}
all: default test

View File

@ -26,7 +26,7 @@ $ cargo install mdbook
To build the book, type: To build the book, type:
```bash ```bash
$ make $ mdbook build
``` ```
The output will be in the `book` subdirectory. To check it out, open it in The output will be in the `book` subdirectory. To check it out, open it in
@ -39,13 +39,7 @@ $ firefox book/index.html
To run the tests: To run the tests:
```bash ```bash
$ make test $ mdbook test
```
To do both:
```bash
$ make all
``` ```
## Contributing ## Contributing