mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
fixing build to use ditto and write osx download
This commit is contained in:
+19
-1
@@ -313,7 +313,25 @@
|
||||
<exec executable="macosx/work/Processing.app/Contents/MacOS/JavaApplicationStub" spawn="true"/>
|
||||
</target>
|
||||
|
||||
<target name="macosx-dist" if="macosx" depends="macosx-build" description="Create a .dmg of the Mac OS X version">
|
||||
<target name="macosx-dist" if="macosx" depends="macosx-build" description="Create a downloadable .zip for the Mac OS X version">
|
||||
|
||||
<!-- The ant copy command does not preserve permissions. -->
|
||||
<chmod file="macosx/work/Processing.app/Contents/MacOS/JavaApplicationStub*" perm="ugo+x" />
|
||||
|
||||
<exec executable="ditto" dir="macosx/work">
|
||||
<arg line="-c -k -rsrc . ../processing-${version}-macosx.zip" />
|
||||
</exec>
|
||||
|
||||
<echo>
|
||||
=======================================================
|
||||
Processing for Mac OS X was built. Grab it from
|
||||
|
||||
macosx/processing-${version}-macosx.zip
|
||||
=======================================================
|
||||
</echo>
|
||||
</target>
|
||||
|
||||
<target name="macosx-dist-old" if="macosx" depends="macosx-build" description="Create a .dmg of the Mac OS X version">
|
||||
<!-- now build the dmg -->
|
||||
<gunzip src="macosx/template.dmg.gz" dest="macosx/working.dmg" />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user