Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/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