Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
metropolite
/
wp-content
/
plugins
/
mycryptocheckout
/
vendor
/
bitwasp
/
buffertools
:
build.xml
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?xml version="1.0" encoding="UTF-8"?> <project name="buffertools/package" default="build"> <target name="build" depends="lint,phpunit,phpcs" /> <target name="lint" description="Check the syntax of PHP files"> <mkdir dir="${project.basedir}/build/cache" /> <phplint cachefile="${project.basedir}/build/cache/phplint.cache"> <fileset dir="${project.basedir}/src"> <include name="**/*.php"/> </fileset> </phplint> </target> <target name="phpunit"> <delete dir="${project.basedir}/build/docs/code-coverage" /> <mkdir dir="${project.basedir}/build/docs/code-coverage" /> <exec executable="${project.basedir}/vendor/bin/phpunit" passthru="true"> <arg value="-c" /> <arg path="${project.basedir}" /> <arg value="--debug" /> </exec> </target> <target name="phpcs"> <exec command="${project.basedir}/vendor/bin/phpcbf ./src --standard=PSR1,PSR2 -n" passthru="true"> </exec> </target> <target name="build:docs" description="Build user documentation"> <exec executable="make" passthru="true" dir="${project.basedir}/docs"> <arg value="html" /> </exec> </target> </project>