浏览代码

Always run tests on push

DarthSim 5 年之前
父节点
当前提交
8e69236b6b
共有 1 个文件被更改,包括 0 次插入5 次删除
  1. 0 5
      .lefthook/pre-push/test

+ 0 - 5
.lefthook/pre-push/test

@@ -1,10 +1,5 @@
 #!/bin/sh
 
-if ! git diff --staged --name-only | grep -qe ".*\.(go|h|c)$"; then
-  echo "Nothing to test"
-  exit 0;
-fi
-
 if [ -x "$(which brew)" ]; then
   export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$(brew --prefix libffi)/lib/pkgconfig"
 fi