From ec0d93fc4c9f7010407fefc1dbb61a80520baf0e Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Wed, 20 Jan 2016 19:31:27 -0500 Subject: [PATCH] Remove Makefile mdbook supports testing now, so there's no need. --- .travis.yml | 3 ++- Makefile | 7 ------- README.md | 10 ++-------- 3 files changed, 4 insertions(+), 16 deletions(-) delete mode 100644 Makefile 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