forked from Joomla3-Admin-template/joomla-cms
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
23 lines (18 loc) · 714 Bytes
/
Copy pathbuild.xml
File metadata and controls
23 lines (18 loc) · 714 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?xml version="1.0" encoding="UTF-8"?>
<project name="joomla" default="build" basedir=".">
<property name="source" value="." />
<target name="clean" description="Clean up and create artifact directories">
<delete dir="${basedir}/build/logs" />
<mkdir dir="${basedir}/build/logs" />
</target>
<target name="phpcs" description="Generate checkstyle.xml using PHP_CodeSniffer">
<exec executable="phpcs">
<arg value="--report=checkstyle" />
<arg value="-p" />
<arg value="--report-file=${basedir}/build/logs/checkstyle.xml" />
<arg value="--standard=${basedir}/build/phpcs/Joomla" />
<arg path="${source}" />
</exec>
</target>
<target name="build" depends="clean,phpcs" />
</project>