29
0
mirror of https://github.com/joomla/joomla-cms.git synced 2024-06-20 11:05:08 +00:00
cms/build.xml

24 lines
714 B
XML
Raw Normal View History

<?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>