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:
@@ -83,7 +83,7 @@
|
|||||||
</condition>
|
</condition>
|
||||||
<condition property="no_rebuild_aslib"><or>
|
<condition property="no_rebuild_aslib"><or>
|
||||||
<isset property="no_build_aslib"/>
|
<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"/>
|
<srcfiles dir="${asrc.dir}" includes="**/*.as"/>
|
||||||
</uptodate>
|
</uptodate>
|
||||||
</or></condition>
|
</or></condition>
|
||||||
@@ -290,4 +290,13 @@
|
|||||||
</fileset>
|
</fileset>
|
||||||
</genascript>
|
</genascript>
|
||||||
</target>
|
</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>
|
</project>
|
||||||
|
|||||||
Reference in New Issue
Block a user