[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [onionoo/master] Also apply checkstyle to test sources.
commit de259636356aff94759c911a815cceb5fcafc28e
Author: iwakeh <iwakeh@xxxxxxxxxxxxxx>
Date: Tue Nov 15 11:38:57 2016 +0100
Also apply checkstyle to test sources.
---
build.xml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/build.xml b/build.xml
index 1105c53..935b1b1 100644
--- a/build.xml
+++ b/build.xml
@@ -174,10 +174,12 @@
<taskdef resource="com/puppycrawl/tools/checkstyle/ant/checkstyle-ant-task.properties">
<classpath refid="checkstyle.classpath" />
</taskdef>
- <target name="checks" depends="compile">
+ <target name="checks" depends="compile,compile-tests">
<checkstyle config="${testresources}/metrics_checks.xml">
<fileset dir="${javasources}"
includes="**/*.java" />
+ <fileset dir="${testsources}"
+ includes="**/*.java" />
<classpath>
<path refid="classpath" />
<path refid="checkstyle.classpath" />
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits