3 <project name="BIFE" default="dist" basedir=".">
5 <property name="poner directorio build en propiedad"/>
7 <fileset dir="src/BIFE" id="files.src.core">
8 <include name="Parser.php"/>
9 <include name="Widget.php"/>
10 <include name="Container.php"/>
11 <include name="Fallback.php"/>
12 <include name="Root.php"/>
15 <fileset dir="build/BIFE" id="files.build.core">
16 <include name="Parser.php"/>
17 <include name="Widget.php"/>
18 <include name="Container.php"/>
19 <include name="Fallback.php"/>
20 <include name="Root.php"/>
23 <target name="prepare">
24 <echo msg="Preparing build..."/>
25 <mkdir dir="build/BIFE"/>
28 <target name="build" depends="prepare">
29 <echo msg="Building..."/>
30 <copy todir="build/BIFE">
31 <fileset refid="files.src.core"/>
34 <fileset refid="files.build.core"/>
38 <target name="dist" depends="build">
39 <echo msg="Creating archive..."/>
40 <tar name="bife.tar.gz" usegzip="true">
42 <include name="**/**"/>
48 <echo msg="Cleaning up..."/>
49 <delete file="build"/>