1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-10-02 09:10:11 +02:00
fdroidserver/hooks
Daniel Martí d8a8c24584 pre-commit: fix warnings and errors
Properly print warnings to stderr. Also, use : instead of 'echo' as a
fallback as the latter spits out garbage to stdout.

Examples without pep8 installed.

Before:

	 $ ./hooks/pre-commit
	./hooks/pre-commit: line 97: WARNING:: command not found
	ERROR: pep8 tests failed!

After:

	 $ ./hooks/pre-commit
	WARNING: pep8 is not installed, using dummy placeholder!
2016-07-13 12:15:22 +01:00
..
install-hooks.sh Add pre-commit hook with installer 2014-05-28 09:28:28 +02:00
pre-commit pre-commit: fix warnings and errors 2016-07-13 12:15:22 +01:00