Selaa lähdekoodia

Add 'make before-push' target.

Jelmer Vernooij 11 vuotta sitten
vanhempi
commit
a07b1511f9
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  1. 3 0
      Makefile

+ 3 - 0
Makefile

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