Updated build script to unclude phpunit
This commit is contained in:
parent
f76ff9d05e
commit
76205d0b94
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue