| | |
| | | <resource file="${basedir}/resources/gitblt-favicon.png" />
|
| | | <resource file="${basedir}/resources/gitweb-favicon.png" />
|
| | | <resource file="${basedir}/resources/user_16x16.png" />
|
| | | <resource file="${basedir}/resources/users_16x16.png" />
|
| | | <resource file="${basedir}/resources/settings_16x16.png" />
|
| | | <resource file="${basedir}/resources/lock_go_16x16.png" />
|
| | | <resource file="${basedir}/resources/lock_pull_16x16.png" />
|
| | |
| | | <delete dir="${project.express.dir}" />
|
| | | </target>
|
| | |
|
| | | |
| | | <!--
|
| | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| | | Update the gh-pages branch with the current site
|
| | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
| | | -->
|
| | | <target name="updateGhPages" depends="buildSite">
|
| | | <!-- Build gh-pages branch -->
|
| | | <java classpath="${project.build.dir}" classname="com.gitblit.build.BuildGhPages">
|
| | | <classpath refid="master-classpath" />
|
| | | <arg value="--sourceFolder" />
|
| | | <arg value="${basedir}/site" />
|
| | |
|
| | | <arg value="--repository" />
|
| | | <arg value="${basedir}" />
|
| | | |
| | | <arg value="--obliterate" />
|
| | | </java>
|
| | | </target>
|
| | | |
| | |
|
| | | <!--
|
| | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
| | | Publish binaries to Google Code
|
| | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
| | | -->
|
| | | <target name="publishBinaries" depends="buildGO,buildWAR,buildExpress,buildFederationClient,buildManager" description="Publish the Gitblit binaries to Google Code">
|
| | | <target name="publishBinaries" depends="buildGO,buildWAR,buildExpress,buildFederationClient,buildManager,buildApiLibrary" description="Publish the Gitblit binaries to Google Code">
|
| | |
|
| | | <echo>Uploading Gitblit ${gb.version} binaries</echo>
|
| | |
|
| | |
| | | You must add ext/commons-net-1.4.0.jar to your ANT classpath.
|
| | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
| | | -->
|
| | | <target name="publishSite" depends="buildSite" description="Publish the Gitblit site to a webserver (requires ext/commons-net-1.4.0.jar)" >
|
| | | <target name="publishSite" depends="buildSite,updateGhPages" description="Publish the Gitblit site to a webserver (requires ext/commons-net-1.4.0.jar)" >
|
| | |
|
| | | <echo>Uploading Gitblit ${gb.version} website</echo>
|
| | |
|