Updated package.json to include new svn repo.

This commit is contained in:
Michael Mathews 2011-02-05 23:35:56 +00:00
parent 334ea0b24b
commit 6917abcc4f
3 changed files with 45 additions and 36 deletions

View File

@ -36,6 +36,7 @@ See
--- ---
Project Documentation: <http://micmath.github.com/jsdoc> Project Documentation: <http://micmath.github.com/jsdoc>
Subversion Mirror: <http://code.google.com/p/jsdoc/source>
License License
------- -------

View File

@ -1,34 +1,38 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<project name="JSDoc-3" default="jar-install"> <project name="jsdoc" default="jar-install">
<property file="build/build.properties" />
<property name="build.templates" location="build/templates" /> <property file="build/build.properties" />
<property name="build.templates" location="build/templates" />
<tstamp>
<format property="NOW" pattern="yyyy-MM-dd-HHmm" locale="en,UK"/> <tstamp>
</tstamp> <format property="NOW" pattern="yyyy-MM-dd-HHmm" locale="en,UK"/>
</tstamp>
<target name="about">
<delete file="package.json" quiet="true"/> <!-- build the package.json file -->
<copy file="${build.templates}/package.json" tofile="package.json" > <target name="about">
<filterchain> <delete file="package.json" quiet="true"/>
<replacetokens> <copy file="${build.templates}/package.json" tofile="package.json" >
<token key="app.name" value="${app.name}" /> <filterchain>
<token key="app.version" value="${app.version}" /> <replacetokens>
<token key="timestamp" value="${NOW}" /> <token key="app.name" value="${app.name}" />
</replacetokens> <token key="app.version" value="${app.version}" />
</filterchain> <token key="timestamp" value="${NOW}" />
</copy> </replacetokens>
</target> </filterchain>
</copy>
<target name="mirror"> </target>
<!-- commit a copy of master to subversion -->
<target name="mirror">
<exec executable="/usr/local/git/bin/git"> <exec executable="/usr/local/git/bin/git">
<arg value="svn"/> <arg value="svn" />
<arg value="dcommit"/> <arg value="dcommit" />
</exec> </exec>
</target> </target>
<target name="jar-clean"> <!-- steps to build and install the jsdoc.jar file: clean, compile, build -->
<target name="jar-clean">
<delete dir="build/java/build" /> <delete dir="build/java/build" />
<delete file="jsdoc.jar" /> <delete file="jsdoc.jar" />
</target> </target>
@ -59,8 +63,9 @@
</jar> </jar>
</target> </target>
<!-- do all the steps to build and install the jsdoc.jar file -->
<target name="jar-install" depends="jar-clean, jar-build"> <target name="jar-install" depends="jar-clean, jar-build">
<copy file="build/java/build/jar/jsdoc.jar" tofile="jsdoc.jar" overwrite="true" /> <copy file="build/java/build/jar/jsdoc.jar" tofile="jsdoc.jar" overwrite="true" />
</target> </target>
</project> </project>

View File

@ -7,27 +7,30 @@
"licenses": [ "licenses": [
{ {
"type": "Apache 2.0", "type": "Apache 2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0" "url": "http://www.apache.org/licenses/LICENSE-2.0"
} }
], ],
"repositories": [ "repositories": [
{ {
"type": "git", "type": "git",
"url": "http://github.com/micmath/JSDoc" "url": "git://github.com/micmath/jsdoc.git"
},
{
"type": "svn",
"url": "https://jsdoc.googlecode.com/svn/trunk"
} }
], ],
"bugs": "http://code.google.com/p/jsdoc/issues/list",
"contributors" : [ "contributors" : [
{ {
"name": "Michael Mathews", "name": "Michael Mathews",
"email": "micmath@gmail.com", "email": "micmath@gmail.com"
"web": "http://micmath.ws"
} }
], ],
"maintainers": [ "maintainers": [
{ {
"name": "Michael Mathews", "name": "Michael Mathews",
"email": "micmath@gmail.com", "email": "micmath@gmail.com"
"web": "http://micmath.ws"
} }
] ]
} }