[tor-commits] [flashproxy/master] add a pylint phony target for the facilitator too

infinity0 at torproject.org infinity0 at torproject.org
Thu Nov 21 13:18:47 UTC 2013


commit 4c554d7b489bbcbe5983156a24c4f2f025dd88f6
Author: Ximin Luo <infinity0 at gmx.com>
Date:   Wed Nov 13 17:29:03 2013 +0000

    add a pylint phony target for the facilitator too
---
 facilitator/Makefile.am |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/facilitator/Makefile.am b/facilitator/Makefile.am
index 58872a4..2d315b9 100644
--- a/facilitator/Makefile.am
+++ b/facilitator/Makefile.am
@@ -49,6 +49,9 @@ examples/fp-facilitator.conf: examples/fp-facilitator.conf.in Makefile
 	mkdir -p $$(dirname "$@")
 	$(subst_vars) "$<" > "$@"
 
+pylint: $(dist_bin_SCRIPTS)
+	pylint -E $^
+
 # The {pre,post}-{install,remove} targets are just given as reference, and
 # ought to be separate scripts as part of your distro's installation process.
 # They are intentionally not linked to the install target since they require
@@ -143,3 +146,4 @@ endif
 .PHONY: pre-install post-install pre-remove post-remove pre-purge post-purge
 .PHONY: install-user install-secrets install-symlinks install-daemon
 .PHONY: remove-user remove-secrets remove-symlinks remove-daemon
+.PHONY: pylint





More information about the tor-commits mailing list