Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

57 lines (47 sloc) 2.074 kb
<?xml version="1.0" encoding="UTF-8"?>
<project name="external-login" default="build" basedir=".">
<property name="server" value="http://download.chdemko.com/joomla/extensions/external-login" />
<property name="version" value="3.0.0-beta1" />
<property name="dist" value="build" />
<target name="build" depends="clean, src, docs, readme, server "/>
<target name="readme">
<copy file="README.markdown.tpl" tofile="README.markdown" overwrite="true" />
<replace file="README.markdown" token="@VERSION@" value="${version}"/>
<replace file="README.markdown" token="@SERVER@" value="${server}"/>
</target>
<target name="server" description="Generate Server file">
<copy file="server.xml.tpl" tofile="server-3.xml" overwrite="true" />
<replace file="server-3.xml" token="@VERSION@" value="${version}"/>
<replace file="server-3.xml" token="@SERVER@" value="${server}"/>
<copy file="server-3.xml" tofile="${dist}/server-3.xml" />
<delete file="server-3.xml" />
</target>
<target name="update" description="Generate Update file">
<copy file="update.xml.tpl" tofile="update.xml" overwrite="true" />
<replace file="update.xml" token="@VERSION@" value="${version}"/>
<replace file="update.xml" token="@SERVER@" value="${server}"/>
<copy file="update.xml" tofile="${dist}/update-${project-name}-3.xml" />
<delete file="update.xml" />
</target>
<target name="src">
<ant antfile="src/build.xml" useNativeBasedir="true" />
<copy todir="${dist}">
<fileset dir="src/${dist}" />
</copy>
</target>
<target name="docs">
<ant antfile="docs/build.xml" useNativeBasedir="true" />
<copy todir="${dist}">
<fileset dir="docs/${dist}" />
</copy>
</target>
<target name="language">
<ant antfile="language/build.xml" useNativeBasedir="true" />
</target>
<target name="zip" description="Generate Zip file">
<zip destfile="${dist}/${project-name}-${version}.zip" basedir="." excludes="**/*~,*.tpl,build.xml,update.xml" />
</target>
<target name="clean" description="Clean up">
<delete dir="${dist}" />
</target>
</project>
Jump to Line
Something went wrong with that request. Please try again.