Skip to content

Instantly share code, notes, and snippets.

@acid
acid / pre-push
Last active April 7, 2017 16:16 — forked from matteosister/pre-commit
pre-push hook for our phoenix app
#!/bin/sh
# exit on any error (the called tool output should be enough)
set -e
# credo checks
mix credo --strict
# tests
mix test