Changeset 1254
- Timestamp:
- 01/17/08 17:49:04 (7 months ago)
- Files:
-
- trunk/build/stubbles/build.xml (modified) (2 diffs)
- trunk/build/stubbles/reports (modified) (1 prop)
- trunk/build/stubbles/reports/report.css (added)
- trunk/build/stubbles/reports/report.js (added)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/build/stubbles/build.xml
r1239 r1254 1 1 <?xml version="1.0"?> 2 2 <project name="stubbles" default="main"> 3 <property name="test.log" value="false"/> 3 4 <property name="build.base.dir" value="${stubbles.base.dir}/build/stubbles/build" override="true"/> 4 5 <property name="build.report.dir" value="${stubbles.base.dir}/build/stubbles/reports" override="true"/> … … 221 222 <delete> 222 223 <fileset dir="${build.report.dir}"> 223 <include name="**"/> 224 <include name="**/*"/> 225 <exclude name="**/api/*"/> 226 <exclude name="**/report.css"/> 227 <exclude name="**/report.js"/> 224 228 </fileset> 225 229 </delete> 226 230 <phingcall target="test-preparation" /> 227 <exec passthru="true" command="phpunit --log-metrics ${build.report.dir}/metrics.xml --log-pmd ${build.report.dir}/pmd.xml --coverage-html ${build.report.dir}/coverage src_test_AllTests"/> 231 <php expression="extension_loaded('xdebug');" returnProperty="xdebug"/> 232 <if> 233 <and> 234 <istrue value="${xdebug}"/> 235 <istrue value="${test.log}"/> 236 </and> 237 <then> 238 <echo message="${build.report.dir}"/> 239 <exec passthru="true" command="phpunit --log-metrics ${build.report.dir}/metrics.xml --log-pmd ${build.report.dir}/pmd.xml --coverage-html ${build.report.dir}/coverage src_test_AllTests"/> 240 <xslt file="${build.report.dir}/pmd.xml" tofile="${build.report.dir}/pmd.html" style="${stubbles.base.dir}/build/stubbles/xsl/pmd.xsl"/> 241 <xslt file="${build.report.dir}/metrics.xml" tofile="${build.report.dir}/metrics.html" style="${stubbles.base.dir}/build/stubbles/xsl/metrics.xsl"/> 242 </then> 243 <else> 244 <exec passthru="true" command="phpunit src_test_AllTests"/> 245 </else> 246 </if> 228 247 </target> 229 248 trunk/build/stubbles/reports
- Property svn:ignore changed from
pmd.xml
pmd-cpd.xml
metrics.xml
to
pmd.xml
pmd-cpd.xml
metrics.xml
pmd.html
metrics.html
- Property svn:ignore changed from
