Don't delete the generated directories themselves on ant clean-generated, only the source files
This commit is contained in:
parent
436fcbea89
commit
e97f4ce950
|
@ -245,8 +245,10 @@
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="clean-generated" description="Deletes the generated java and native source">
|
<target name="clean-generated" description="Deletes the generated java and native source">
|
||||||
<delete dir="${lwjgl.src}/generated" quiet="true" failonerror="false" taskname="cleaning java source"/>
|
<delete quiet="true" failonerror="false">
|
||||||
<delete dir="${lwjgl.src.native}/generated" quiet="true" failonerror="false" taskname="cleaning native source"/>
|
<fileset dir="${lwjgl.src}/generated" includes="**"/>
|
||||||
|
<fileset dir="${lwjgl.src.native}/generated" includes="**"/>
|
||||||
|
</delete>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<!-- Cleans up any files created during the execution of this script -->
|
<!-- Cleans up any files created during the execution of this script -->
|
||||||
|
|
Loading…
Reference in New Issue