Skip to content

Commit 0b51fb7

Browse files
bors[bot]japaric
andcommitted
Merge #116
116: run linkchecker simulating the bookshelf layout r=thejpster a=japaric this catches / prevents build errors in the bookshelf repo like https://travis-ci.org/rust-embedded/bookshelf/builds/433522599 Co-authored-by: Jorge Aparicio <[email protected]>
2 parents 4ac1315 + c01163b commit 0b51fb7

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

ci/script.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,15 @@ main() {
66

77
linkchecker book
88

9+
# now check this as a directory of the bookshelf
10+
rm -rf shelf
11+
mkdir shelf
12+
mv book shelf
13+
linkchecker shelf
14+
15+
mv shelf/book .
16+
rmdir shelf
17+
918
# first (fast) pass: check that examples compile
1019
for chapter in $(echo src/*); do
1120
if [ ! -f $chapter/Cargo.toml ]; then

0 commit comments

Comments
 (0)