Skip to content

Apache Lucene open-source search software

LUCENE-4384: add precommit task

Robert Muir6730bbb71dce
diff --git a/build.xml b/build.xml
index 1b2bb85e45f..66b0dacee6b 100644
--- a/build.xml
+++ b/build.xml
@@ -24,6 +24,9 @@
</subant>
</target>
+ <target name="precommit" description="Run basic checks before committing"
+ depends="check-svn-working-copy,validate,javadocs-lint"/>
+
<target name="test" description="Test both Lucene and Solr">
<sequential>
<subant target="test" inheritall="false" failonerror="true">