output the result of rustfmt on ci

This commit is contained in:
gnzlbg 2018-05-15 19:55:56 +02:00
parent 45c0b47e6d
commit 4e8b5a7e6a

View File

@ -23,6 +23,7 @@ echo "Integration tests for: ${INTEGRATION}"
function check_fmt {
cargo fmt --all -v -- --error-on-unformatted &> rustfmt_output
if [[ $? != 0 ]]; then
cat rustfmt_output
return 1
fi
cat rustfmt_output