commit 6603811aa98b63cf2d6b5e2394a0aa5afdf9da94 Author: iwakeh iwakeh@torproject.org Date: Tue Oct 18 14:56:43 2016 +0200
Tests should compile before being analyzed by checkstyle. --- build.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/build.xml b/build.xml index 7266e2d..ec8035e 100644 --- a/build.xml +++ b/build.xml @@ -227,7 +227,7 @@ <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="${testsources}" includes="**/*.java" />
tor-commits@lists.torproject.org