diff --git a/.travis.yml b/.travis.yml index 6436127..50b949e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,7 +8,8 @@ rust: before_script: - cargo install mdbook 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: - test $TRAVIS_PULL_REQUEST == "false" && test $TRAVIS_BRANCH == "master" && bash deploy.sh env: diff --git a/Makefile b/Makefile deleted file mode 100644 index 7b4aedc..0000000 --- a/Makefile +++ /dev/null @@ -1,7 +0,0 @@ -default: - mdbook build - -test: - find . -name "*.md" | xargs -I{} rustdoc --test {} - -all: default test diff --git a/README.md b/README.md index 8659101..60f213f 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ $ cargo install mdbook To build the book, type: ```bash -$ make +$ mdbook build ``` 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: ```bash -$ make test -``` - -To do both: - -```bash -$ make all +$ mdbook test ``` ## Contributing