summaryrefslogtreecommitdiffstats
path: root/shared
diff options
context:
space:
mode:
authorPekka Hyvönen <pekka@vaadin.com>2012-12-10 13:09:34 +0200
committerArtur Signell <artur@vaadin.com>2013-01-04 18:59:39 +0200
commit104259291148b2cf5f0f3f7bc8795089cc1cb32c (patch)
tree99a8e2d8e5f98f8ace211fcbdde6e6121fcbb64a /shared
parentfb68bd53035fdd9cf0448623d5f6867fe17bab64 (diff)
downloadvaadin-framework-104259291148b2cf5f0f3f7bc8795089cc1cb32c.tar.gz
vaadin-framework-104259291148b2cf5f0f3f7bc8795089cc1cb32c.zip
Checkstyle for Vaadin #9065
* Validates that all java files contains a license file and fails the build if a license is missing * For now runs a lot of checks with a severity less than error to avoid failing the build * Outputs test results to TeamCity for reporting Change-Id: I24ca9cd0646a4bc530ef3a183eef1bc4addc555d
Diffstat (limited to 'shared')
-rw-r--r--shared/build.xml8
1 files changed, 7 insertions, 1 deletions
diff --git a/shared/build.xml b/shared/build.xml
index 4cba76c85a..06a27b0ef9 100644
--- a/shared/build.xml
+++ b/shared/build.xml
@@ -47,8 +47,14 @@
<target name="clean">
<antcall target="common.clean" />
</target>
+
+ <target name="checkstyle">
+ <antcall target="common.checkstyle">
+ <param name="cs.src" location="src" />
+ </antcall>
+ </target>
- <target name="tests">
+ <target name="tests" depends="checkstyle">
<!--<antcall target="common.tests.run" />-->
<echo>WHAT? No tests for ${module.name}!</echo>
</target>