Sfoglia il codice sorgente

feat(hooks): add grunt test to pre commit

bergquist 10 anni fa
parent
commit
61a655f199
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  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