Browse Source

feat(hooks): add grunt test to pre commit

bergquist 10 years ago
parent
commit
61a655f199
1 changed files with 3 additions and 0 deletions
  1. 3 0
      .hooks/pre-commit

+ 3 - 0
.hooks/pre-commit

@@ -5,3 +5,6 @@ if [ $? -gt 0 ]; then
     echo "Some files aren't formatted, please run 'go fmt ./pkg/...' to format your source code before committing"
     exit 1
 fi
+
+
+grunt test