mirror of
https://github.com/garbagemule/MobArena.git
synced 2024-11-23 11:06:14 +01:00
[Ant] Add remote dist target.
This commit is contained in:
parent
3ae69f6cf4
commit
54b3df5eec
13
build.xml
13
build.xml
@ -69,6 +69,11 @@
|
||||
<copy file="${ant.project.name}.jar" tofile="${dropbox.dir}/${ant.project.name}.jar" />
|
||||
</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"/>
|
||||
</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>
|
||||
|
||||
|
||||
|
||||
<!--
|
||||
|
Loading…
Reference in New Issue
Block a user