Added maven-deploy target, fixed stray lib.name occurrence.

git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@1001 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Michael Bayne
2010-11-18 05:57:15 +00:00
parent 71930f8ec7
commit 61e0485fab
+10 -1
View File
@@ -83,7 +83,7 @@
</condition>
<condition property="no_rebuild_aslib"><or>
<isset property="no_build_aslib"/>
<uptodate targetfile="${deploy.dir}/${lib.name}lib.swc">
<uptodate targetfile="${deploy.dir}/${ant.project.name}lib.swc">
<srcfiles dir="${asrc.dir}" includes="**/*.as"/>
</uptodate>
</or></condition>
@@ -290,4 +290,13 @@
</fileset>
</genascript>
</target>
<property name="maven.deploy.repo" value="file://${user.home}/.m2/repository"/>
<target name="maven-deploy" depends="dist,tests"
description="Deploys our build artifacts to a Maven repository.">
<artifact:deploy file="${deploy.dir}/${ant.project.name}.jar" uniqueVersion="false">
<remoteRepository url="${maven.deploy.repo}"/>
<pom refid="pom"/>
</artifact:deploy>
</target>
</project>