forked from contao-community-alliance/merger2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
20 lines (17 loc) · 689 Bytes
/
build.xml
File metadata and controls
20 lines (17 loc) · 689 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?xml version="1.0"?>
<project name="Example" default="test">
<target name="phpunit">
<exec dir="${basedir}" executable="vendor/bin/phpunit" failonerror="true" />
</target>
<target name="phpcs">
<exec dir="${basedir}" executable="vendor/bin/phpcs" failonerror="true">
<arg line="--standard=${basedir}/vendor/bit3/php-coding-standard/phpcs/Bit3/ruleset.xml ${basedir}/src"/>
</exec>
</target>
<target name="phpmd">
<exec dir="${basedir}" executable="vendor/bin/phpmd" failonerror="true">
<arg line="${basedir}/src text ${basedir}/vendor/bit3/php-coding-standard/phpmd/ruleset.xml"/>
</exec>
</target>
<target name="test" depends="phpunit,phpcs,phpmd"/>
</project>