浏览代码

feat(hooks): add grunt test to pre commit

bergquist 10 年之前
父节点
当前提交
61a655f199
共有 1 个文件被更改,包括 3 次插入0 次删除
  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