Files
allwpilib/.travis-scripts/wpiformat.sh
2018-01-02 14:30:19 -06:00

10 lines
214 B
Bash
Executable File

#!/bin/bash
if [[ $TRAVIS_OS_NAME != 'osx' ]]; then
python3.5 -m wpiformat -y 2018 -clang 5.0
else
python3 -m wpiformat -y 2018
fi
git --no-pager diff --exit-code HEAD # Ensure formatter made no changes