Przeglądaj źródła

Add 'make before-push' target.

Jelmer Vernooij 11 lat temu
rodzic
commit
a07b1511f9
1 zmienionych plików z 3 dodań i 0 usunięć
  1. 3 0
      Makefile

+ 3 - 0
Makefile

@@ -55,3 +55,6 @@ flakes:
 
 pep8:
 	$(PEP8) dulwich
+
+before-push: check
+	git diff origin/master | $(PEP8) --diff