[Phpbbproject-svn] SF.net SVN: phpbbproject:[317] trunk/build.xml
phpBB download manager, mainly aimed at MOD authors
Status: Planning
Brought to you by:
lord_le_brand
|
From: <lor...@us...> - 2014-10-24 14:05:27
|
Revision: 317
http://sourceforge.net/p/phpbbproject/svn/317
Author: lord_le_brand
Date: 2014-10-24 14:05:22 +0000 (Fri, 24 Oct 2014)
Log Message:
-----------
build update
Modified Paths:
--------------
trunk/build.xml
Modified: trunk/build.xml
===================================================================
--- trunk/build.xml 2014-10-23 13:29:56 UTC (rev 316)
+++ trunk/build.xml 2014-10-24 14:05:22 UTC (rev 317)
@@ -20,34 +20,40 @@
</target>
<target name="build">
- <copy todir="${dir.output}/${version}">
- <fileset dir="${dir.src}" />
- </copy>
- <foreach list="${targetlist}" param="targetversion" target="build_target" />
- </target>
-
- <target name="build_target">
+ <copy todir="${dir.output}/${version}">
+ <fileset dir="${dir.src}" />
+ </copy>
+ <foreach list="${targetlist}" param="targetversion" target="build_target" />
+ </target>
+
+ <target name="build_target">
+ <mkdir dir="${dir.output}/${targetversion}" />
<copy todir="${dir.output}/${targetversion}">
- <fileset dir="target/${targetversion}" />
- </copy>
+ <fileset dir="target/${targetversion}" />
+ </copy>
+ <exec
+ command="${php.exec} ${dir.output}/${targetversion}/install/index.php?module=install"
+ dir="${dir.output}/${targetversion}/install"
+ passthru="true"
+ />
</target>
<target name="test">
<mkdir dir="${phpunit.output.xml.dir}"/>
<mkdir dir="${phpunit.output.html.dir}"/>
<exec
- command="${phpunit.exec} ${phpunit.args}"
- dir="${project.basedir}/test"
- passthru="true"
+ command="${phpunit.exec} ${phpunit.args}"
+ dir="${project.basedir}/test"
+ passthru="true"
/>
<xslt
- file="${phpunit.output.xml.file}"
- tofile="${junit.output.xml.file}"
- style="${junit.style}"
- />
+ file="${phpunit.output.xml.file}"
+ tofile="${junit.output.xml.file}"
+ style="${junit.style}"
+ />
</target>
<target name="clean">
- <delete dir="${dir.output}"/>
+ <delete dir="${dir.output}"/>
</target>
</project>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|