mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
60 lines
2.1 KiB
XML
60 lines
2.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project name="Grendel-daily" default="daily" basedir=".">
|
|
<import file="build.xml"/>
|
|
<!--
|
|
<target name="-init">
|
|
<tstamp/>
|
|
<property name="base.core" value="."/>
|
|
|
|
<property name="base" value="${base}/daily/${DSTAMP}${TSTAMP}/"/>
|
|
|
|
<property name="version" value="0.1" />
|
|
|
|
<property name="lib" value="${base}/extlib"/>
|
|
<property name="lib.build" value="${base}/buildlib"/>
|
|
<property name="src" value="${base}/sources"/>
|
|
<property name="dist" value="${base.dep}/dist"/>
|
|
<property name="docs" value="${base.dep}/docs"/>
|
|
|
|
<property name="dist.frag" value="${base.dep}/fragment"/>
|
|
<property name="dist.frag.bin" value="${dist.frag}/bin"/>
|
|
|
|
<property name="test.base" value="${base.dep}/tests"/>
|
|
<property name="test.reports" value="${test.base}/report/"/>
|
|
<property name="test.reports.style" value="${test.base}/style/"/>
|
|
<property name="test.src" value="${test.base}/src"/>
|
|
<property name="test.dist" value="${test.base}/dist"/>
|
|
|
|
<mkdir dir="${build}"/>
|
|
</target>
|
|
-->
|
|
<target name="-init-base">
|
|
<tstamp/>
|
|
<property name="base" value="."/>
|
|
<property name="daily.id" value="${DSTAMP}${TSTAMP}"/>
|
|
<property name="base.dep" value="${base}/daily/${daily.id}/"/>
|
|
<property name="dist.zip.postfix" value="_${daily.id}"/>
|
|
<mkdir dir="base"/>
|
|
</target>
|
|
|
|
<target name="daily" depends="-init,makeZip,makeSrcZip,test">
|
|
<!-- TODO
|
|
- Redefine Normal Build Varibles
|
|
- Run Build Tasks
|
|
-
|
|
-->
|
|
<!--<antcall target="test"/>-->
|
|
</target>
|
|
|
|
<target name="makeSrcZip" depends="-init">
|
|
<echo message="-- Creating Grendel source zip"/>
|
|
<zip destfile="${base.dep}/grendel_src_${daily.id}.zip" compress="true">
|
|
<fileset dir="${src}"/>
|
|
</zip>
|
|
<zip destfile="${base.dep}/grendel_extlib_${daily.id}.zip" compress="true">
|
|
<fileset dir="${lib}"/>
|
|
</zip>
|
|
</target>
|
|
|
|
</project>
|