Skip to content

Instantly share code, notes, and snippets.

@tbje
Last active August 29, 2015 14:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tbje/ee76be2d83466910c83d to your computer and use it in GitHub Desktop.
Save tbje/ee76be2d83466910c83d to your computer and use it in GitHub Desktop.
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