Skip to content

Instantly share code, notes, and snippets.

@seanoshea
Created May 6, 2011 18:36
Show Gist options
  • Save seanoshea/959510 to your computer and use it in GitHub Desktop.
Save seanoshea/959510 to your computer and use it in GitHub Desktop.
Ant build for Titanium Desktop
<if>
<isset property="isUnix"/>
<then>
<exec executable="./tibuild.py" dir="${osx.ti.sdk.dir}">
<arg line="-v -n -o osx -t bundle -a osx -s ../../tmp -d ../../ ../../tmp" />
</exec>
</then>
<else>
<exec executable="cmd" dir="${win.ti.sdk.dir}">
<arg line="/c" />
<arg value="python tibuild.py -v -n -o win32 -t bundle -a ${win.ti.sdk.dir} -s ${ti.base.dir} -d ${absolute.build.dir} ${absolute.build.dir}/tmp" />
</exec>
</else>
</if>
osx.ti.sdk.dir=${build.dir}/titanium_desktop/osx
win.ti.sdk.dir=${build.dir}/titanium_desktop/win32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment