Skip to content

Instantly share code, notes, and snippets.

@mimshwright
Created November 14, 2009 00:13
Show Gist options
  • Save mimshwright/234287 to your computer and use it in GitHub Desktop.
Save mimshwright/234287 to your computer and use it in GitHub Desktop.
<target name="incrementalBuild">
<property name="incremental" value="true" />
<antcall target="build" />
</target>
<target name="build" description="Compiles the source into a SWC library file.">
<echo>Compiling library. Incremental build = ${incremental}</echo>
<compc output="${project.output.binaryPath}/${outputName}.swc" incremental="${incremental}">
<source-path path-element="${project.sourcePath}" />
<library-path dir="${project.libraryPath}" includes="*" />
<include-sources dir="${project.sourcePath}" includes="*" />
</compc>
<echo>Success! Created ${outputName}.swc</echo>
</target>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment