Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
50 lines (42 sloc) 1.51 KB
<project name="Ceylon SDK" basedir=".">
<!-- the modules, in dependency order -->
<filelist id="module.dirs">
<file name="sdk-test"/>
<file name="math"/>
</filelist>
<macrodef name="iterate">
<attribute name="target"/>
<sequential>
<subant target="@{target}">
<filelist refid="module.dirs"/>
<property name="build" location="build"/>
<property name="build.modules" location="build/modules"/>
<property name="test.reports" location="build/test-reports"/>
<property name="repo.dependancies" location="build/modules"/>
<property name="publish.username" value="${publish.username}"/>
<property name="publish.password" value="${publish.password}"/>
<property name="publish.repo" value="${publish.repo}"/>
</subant>
</sequential>
</macrodef>
<target name="compile">
<iterate target="compile"/>
</target>
<target name="clean">
<iterate target="clean"/>
</target>
<target name="test">
<iterate target="test"/>
</target>
<target name="doc">
<iterate target="doc"/>
</target>
<target name="publish">
<!--<input message="modules.ceylon-lang.org username:>" addproperty="publish.username"/>
<input message="modules.ceylon-lang.org password:>" addproperty="publish.password">
<handler classname="org.apache.tools.ant.input.SecureInputHandler"/>
</input>
<property name="publish.repo" value="https://modules.ceylon-lang.org"/>-->
<iterate target="publish"/>
</target>
</project>