Skip to content

Instantly share code, notes, and snippets.

@dirkgr
Created July 29, 2014 17:29
Show Gist options
  • Save dirkgr/412d53bc56ee0759339e to your computer and use it in GitHub Desktop.
Save dirkgr/412d53bc56ee0759339e to your computer and use it in GitHub Desktop.
sbt format checker git hook
#!/bin/sh
trap 'exit 1' ERR
/usr/local/bin/sbt -Dsbt.log.noformat=true warn compile formatCheckStrict
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment