-
-
Save acid/24d1b04d74eb103112869f91719e8078 to your computer and use it in GitHub Desktop.
pre-push hook for our phoenix app
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# exit on any error (the called tool output should be enough) | |
set -e | |
# credo checks | |
mix credo --strict | |
# tests | |
mix test | |
# javascript lint | |
npm run lint | |
# javascript test | |
npm run test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment