Created
May 23, 2012 16:09
-
-
Save tpryan/2776139 to your computer and use it in GitHub Desktop.
Ant notification with Say
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<target name="notifyWebDev" description="Plays an audio file"> | |
<echo message="Playing Audio Alert"/> | |
<exec executable='say' failonerror='true'> | |
<arg value='Development website is ready'/> | |
</exec> | |
</target> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<target name="uploadFilesToDev"> | |
<echo message="Pushing Text to Dev"/> | |
<ftp server="${server}" userid="${username}" password="${password}" | |
remotedir="/" depends="yes" | |
action="send" > | |
<fileset dir="${build.dir}"> | |
<include name="**/*.css"/> | |
<include name="**/*.html"/> | |
<include name="**/*.js"/> | |
<include name="**/*.svg"/> | |
</fileset> | |
</ftp> | |
</target> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<target name="deployToWeb" depends="build,uploadFilesToDev,notifyWebDev" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment