Skip to content

Instantly share code, notes, and snippets.

@minimal
Last active February 20, 2018 13:23
Show Gist options
  • Save minimal/128b24e97460042482f356b8c5335a84 to your computer and use it in GitHub Desktop.
Save minimal/128b24e97460042482f356b8c5335a84 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
# check formatting of clj files changed from master
lein cljfmt check $(git diff --name-only origin/master |
grep "\\.clj[sc]\\?$" |
paste -s -d" ")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment