Skip to content

Instantly share code, notes, and snippets.

@jc00ke
Created June 16, 2016 23:35
Show Gist options
  • Save jc00ke/b0e87e6eade3dbdbdeb4d0a7e4001d12 to your computer and use it in GitHub Desktop.
Save jc00ke/b0e87e6eade3dbdbdeb4d0a7e4001d12 to your computer and use it in GitHub Desktop.
pre-push git hook that runs Credo
#!/bin/sh
mix credo -i PipeChainStart
@jc00ke
Copy link
Author

jc00ke commented Jun 16, 2016

Put this in .git/hooks/

Unfortunately each developer needs to add the script manually, as these hooks don't go along with the repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment