Bläddra i källkod

Always run tests on push

DarthSim 5 år sedan
förälder
incheckning
8e69236b6b
1 ändrade filer med 0 tillägg och 5 borttagningar
  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