diff options
author | knut <> | 2006-02-01 16:31:40 +0000 |
---|---|---|
committer | knut <> | 2006-02-01 16:31:40 +0000 |
commit | 5a7bac0a5c8342ce5812c16d1973e5affa188670 (patch) | |
tree | 15f14ca85ecd4c5b8e10185188e2f4979f808f29 /build.xml | |
parent | 00f9b81f18010c6a99e84c6410680aab31ddd8ba (diff) |
added pradolite target
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 21 |
1 files changed, 20 insertions, 1 deletions
@@ -348,4 +348,23 @@ PRADO provides the following benefits for Web application developers: <delete dir="${reports.dir}"/> </target> -</project>
\ No newline at end of file + <target name="pradolite"> + <echo>Compiling PRADO Lite</echo> + <delete file="${build.base.dir}/pradolite.php"/> + <append destFile="${build.base.dir}/pradolite.php"> + <filterchain> + <stripphpcomments /> + <replaceregexp> + <regexp pattern="Prado::using\(.*\);" replace=""/> + <regexp pattern="(require|require_once)\s*\(.*?;" replace=""/> + <regexp pattern="(include|include_once)\s*\(.*?;" replace=""/> + <regexp pattern="Prado::trace\(.*\);" replace=""/> + </replaceregexp> + </filterchain> + <filelist dir="${src.dir}" listfile="buildscripts/phpbuilder/files.txt"/> + </append> + <exec command="php -l pradolite.php" dir="${build.base.dir}" passthru="true" checkreturn="true"/> + <exec command="php -e pradolite.php" dir="${build.base.dir}" passthru="true" checkreturn="true"/> + </target> + +</project> |