Skip to content

Instantly share code, notes, and snippets.

@tbje
Last active Aug 29, 2015
Embed
What would you like to do?
if test $(sbt test | grep -c -E "Reformatted|Failed") != 0
#if test $(sbt compile | grep -c -E "Reformatted|Failed") != 0
#if test $(sbt ";scalariformFormat;test:scalariformFormat" | grep -c -E "Reformatted|Failed") != 0
then
echo "Sbt detected problems"
exit 1
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment