mirror of https://github.com/sbt/sbt.git
Check that README.md doesn't change after a tut run on CI
This commit is contained in:
parent
f43d8d59ad
commit
1c83799218
|
|
@ -111,7 +111,18 @@ runJvmTests() {
|
|||
}
|
||||
|
||||
validateReadme() {
|
||||
# check that tut runs fine, and that the README doesn't change after a `sbt tut`
|
||||
mv README.md README.md.orig
|
||||
|
||||
sbt ++${SCALA_VERSION} tut
|
||||
|
||||
if cmp -s README.md.orig README.md; then
|
||||
echo "README.md doesn't change"
|
||||
else
|
||||
echo "Error: README.md not the same after a \"sbt tut\":"
|
||||
diff -u README.md.orig README.md
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
||||
checkBinaryCompatibility() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue