Skip to content

Instantly share code, notes, and snippets.

@mattupstate
Created July 6, 2010 01:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mattupstate/464892 to your computer and use it in GitHub Desktop.
Save mattupstate/464892 to your computer and use it in GitHub Desktop.
<!-- Compiles the SWF and launches a browser for debugging. -->
<target name="run-debug" depends="compile-swf">
<if>
<equals arg1="${os.name}" arg2="Mac OS X" />
<then>
<exec executable="open" spawn="true">
<arg line="-a ${env.DEFAULT_BROWSER} ${debug.compile.output}" />
</exec>
</then>
<else>
<exec executable="${env.DEFAULT_BROWSER}" spawn="true">
<arg line="'file://${debug.compile.output}'" />
</exec>
</else>
</if>
</target>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment