fix build issue on project level

This commit is contained in:
Michael Droogleever
2018-07-22 00:07:36 +02:00
parent 9ec744b942
commit 2fe5a7d5a8

View File

@@ -18,16 +18,20 @@ main() {
done done
# second (slow) pass: check that examples link # second (slow) pass: check that examples link
for chapter in $(echo src/*); do # for chapter in $(echo src/*); do
if [ ! -f $chapter/Cargo.toml ]; then # if [ ! -f $chapter/Cargo.toml ]; then
continue # continue
fi # fi
pushd $chapter # pushd $chapter
cargo build # cargo build
cargo build --release # cargo build --release
popd # popd
done # done
# second (slow) pass: check that workspace builds
cargo build
cargo build --release
} }
if [ $TRAVIS_BRANCH != master ]; then if [ $TRAVIS_BRANCH != master ]; then