Updated build script to unclude phpunit

This commit is contained in:
Joshua Estes 2014-07-02 14:08:42 -04:00
parent f76ff9d05e
commit 76205d0b94
1 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="bitpay/magento-plugin" default="lint">
<project name="bitpay/magento-plugin" default="build">
<target name="clean" hidden="true">
<delete dir="build/logs" verbose="true" />
</target>
@ -8,6 +8,8 @@
<mkdir dir="build/logs" />
</target>
<target name="build" depends="lint,phpunit" />
<target name="lint" depends="prepare">
<phplint>
<fileset dir="app/code/community/Bitpay/Bitcoins">
@ -18,4 +20,8 @@
</fileset>
</phplint>
</target>
<target name="phpunit">
<phpunit printsummary="true" pharlocation="bin" />
</target>
</project>