Skip to content
This repository has been archived by the owner on Jul 16, 2021. It is now read-only.

Commit

Permalink
Print phing output directly
Browse files Browse the repository at this point in the history
  • Loading branch information
aimeos committed Oct 1, 2017
1 parent 6196307 commit afbb967
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lib/custom/build.xml
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>

<project name="ai-zend2-i18n extension - custom library extensions" default="test">

<target name="test" description="Executes unit tests">
<echo msg="Executing unit tests" />
<delete file="tests/unittest.log" quiet="true" failonerror="false" />
<exec command="${bindir}phpunit -d memory_limit=-1 --include-path ${coredir} --configuration=phpunit.xml ."
dir="tests" checkreturn="true" logoutput="true"/>
dir="tests" checkreturn="true" logoutput="true" passthru="true" />
</target>

<target name="coverage" description="Generates code coverage report">
<echo msg="Generating code coverage report" />
<delete file="tests/unittests.log" quiet="true" failonerror="false" />
<delete dir="deploy/coverage" quiet="true" failonerror="false" />
<exec command="${bindir}phpunit -d memory_limit=-1 --include-path ${coredir} --configuration=phpunit-coverage.xml ."
dir="tests" checkreturn="true" logoutput="true"/>
dir="tests" checkreturn="true" logoutput="true" passthru="true" />
</target>

<target name="check" description="Executes code sniffer">
<echo msg="Executing code sniffer" />
<exec command="${bindir}phpcs -n --standard=${codestddir}/Metaways src tests/MW"
checkreturn="true" logoutput="true"/>
checkreturn="true" logoutput="true" passthru="true" />
</target>

<target name="clean" description="Cleans up temporary files">
Expand Down

0 comments on commit afbb967

Please sign in to comment.