Added a property to disable compiler's javadoc generation

Run Ant with -Dgenerate.javadoc=false -Dshrink=false for a faster build
This commit is contained in:
Andrey Breslav
2012-05-10 17:16:04 +04:00
parent 909e02898d
commit 711e61cd06
+3 -1
View File
@@ -2,6 +2,8 @@
<!-- Set to false to disable proguard run on kotlin-compiler.jar. Speeds up the build --> <!-- Set to false to disable proguard run on kotlin-compiler.jar. Speeds up the build -->
<property name="shrink" value="true"/> <property name="shrink" value="true"/>
<!-- Set to false to disable compiler's javadoc generation. Speeds up the build -->
<property name="generate.javadoc" value="true"/>
<property name="output" value="${basedir}/dist"/> <property name="output" value="${basedir}/dist"/>
<property name="kotlin-home" value="${output}/kotlinc"/> <property name="kotlin-home" value="${output}/kotlinc"/>
@@ -89,7 +91,7 @@
</java> </java>
</target> </target>
<target name="compilerSources"> <target name="compilerSources" unless="generate.javadoc">
<jar jarfile="${output}/kotlin-compiler-sources.jar"> <jar jarfile="${output}/kotlin-compiler-sources.jar">
<!-- TODO How to convert it from pathset or dirset ? --> <!-- TODO How to convert it from pathset or dirset ? -->
<fileset dir="compiler/frontend/src"/> <fileset dir="compiler/frontend/src"/>