Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added notification to android device build.

  • Loading branch information...
commit c5b8c3685c6a7a2172ba74a331cb3457b47ecfa1 1 parent b0cd052
@tpryan authored
Showing with 9 additions and 1 deletion.
  1. +9 −1 build.xml
View
10 build.xml
@@ -9,7 +9,7 @@
<target name="deployToPGB" depends="build,zip,uploadFilesToPGB" description="Sending Files to Phone Gap Build" />
- <target name="deployToAndroid" depends="deployToPGB, installOnToAndroidDevice" description="Sending Files to Phone Gap Build" />
+ <target name="deployToAndroid" depends="deployToPGB, installOnToAndroidDevice, notify" description="Sending Files to Phone Gap Build" />
<target name="test.ant" description="Exports the script of the database ">
@@ -127,4 +127,12 @@
</target>
+ <target name="notify" description="Plays an audio file">
+ <echo message="Playing Audio Alert"/>
+ <exec executable='afplay' failonerror='true'>
+ <arg value='beep.wav'/>
+ </exec>
+ </target>
+
+
</project>
Please sign in to comment.
Something went wrong with that request. Please try again.