Jon Skeet 3 years ago committed by Jon Skeet
parent afb0ca40b3
commit 9f597a4c59
  1. 8
      tests.sh

@ -165,6 +165,14 @@ build_csharp() {
# Run csharp compatibility test between last released and the current version.
csharp/compatibility_tests/v3.0.0/test.sh $LAST_RELEASED
# Regression test for https://github.com/protocolbuffers/protobuf/issues/9526
# - all line endings in .proto and .cs (and .csproj) files should be LF.
if git ls-files --eol csharp | grep -E '\.cs|\.proto' | grep -v w/lf
then
echo "The files listed above have mixed or CRLF line endings; please change to LF."
exit 1
fi
}
build_golang() {

Loading…
Cancel
Save