Permalink
Browse files

add target for OS X app bundle code signing

  • Loading branch information...
1 parent 7921e85 commit 9527757bde7b1a5f77b8d5af2279ec350617ccb2 @pajp committed Nov 25, 2012
Showing with 7 additions and 1 deletion.
  1. +7 −1 build.xml
View
@@ -32,7 +32,7 @@ hdiutil create -srcfolder public/mac -volname Duper Duper.dmg
hdiutil internet-enable -yes Duper.dmg
-->
- <target name="public/Duper.dmg" depends="macbundle">
+ <target name="public/Duper.dmg" depends="macbundle-signed">
<delete file="public/Duper.dmg"/>
<exec executable="hdiutil" os="Mac OS X">
<arg line="create -srcfolder public/mac -volname Duper public/Duper.dmg"/>
@@ -41,6 +41,12 @@ hdiutil internet-enable -yes Duper.dmg
<arg line="internet-enable -yes public/Duper.dmg"/>
</exec>
</target>
+
+ <target name="macbundle-signed" depends="macbundle">
+ <exec executable="codesign" os="Mac OS X">
+ <arg line="-s B94C0DCA3001D0AF40C0E0A29EF946DC39BFF13C public/mac/Duper.app" />
+ </exec>
+ </target>
<target name="macbundle" depends="duper">
<copy todir="public/mac/Duper.app/Contents/Resources/">

0 comments on commit 9527757

Please sign in to comment.