Browse Source

feat(hooks): add grunt test to pre commit

bergquist 10 năm trước cách đây
mục cha
commit
61a655f199
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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