[Ant] Add remote dist target.

This commit is contained in:
garbagemule
2013-08-07 01:57:48 +02:00
parent 3ae69f6cf4
commit 54b3df5eec
+13
View File
@@ -69,6 +69,11 @@
<copy file="${ant.project.name}.jar" tofile="${dropbox.dir}/${ant.project.name}.jar" /> <copy file="${ant.project.name}.jar" tofile="${dropbox.dir}/${ant.project.name}.jar" />
</target> </target>
<!-- Copy MobArena.jar to the remote.dir folder from the properties file -->
<target name="copy-to-remote" if="remote.dir">
<scp file="${ant.project.name}.jar" todir="${remote.usr}:${remote.pwd}@${remote.host}:${remote.dir}" />
</target>
<!-- <!--
@@ -110,6 +115,14 @@
<antcall target="copy-to-dropbox"/> <antcall target="copy-to-dropbox"/>
</target> </target>
<!-- Build, package and distribute the project (includes remote) -->
<target name="build-package-distribute-remote">
<antcall target="build-package"/>
<antcall target="copy-to-server"/>
<antcall target="copy-to-dropbox"/>
<antcall target="copy-to-remote"/>
</target>
<!-- <!--