Skip to content

Commit eedb305

Browse files
committed
Mirror how docs are checked in other repos.
First step towards syncing with `rspec-support`'s tooling.
1 parent ca5e52d commit eedb305

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

script/run_build

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,16 @@ function check_documentation_coverage {
1616
"
1717
}
1818

19+
function documentation_enforced {
20+
if [ -x ./bin/yard ]; then
21+
return 0
22+
else
23+
return 1
24+
fi
25+
}
26+
1927
bin/rake --trace
20-
check_documentation_coverage
28+
29+
if documentation_enforced; then
30+
check_documentation_coverage
31+
fi

0 commit comments

Comments
 (0)