aboutsummaryrefslogtreecommitdiffstats
path: root/code_sniffer/phpbb/build.xml
blob: b6d3bf64516b6ea9b545660241a66f2cd7a39910 (plain)
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="code_sniffer" basedir="." default="install">

  <property name="working.dir" value="${basedir}" />
  <property name="target.dir" value="/usr/share/php/PHP/CodeSniffer/Standards" />

  <!--
  Install phpbb sniff
  -->
  <target name="install">
    <delete dir="${target.dir}/phpbb" />
    <mkdir dir="${target.dir}/phpbb"/>

    <copy todir="${target.dir}/phpbb">
	<fileset file="${working.dir}/phpbbCodingStandard.php" />
    </copy>
    <copy todir="${target.dir}/phpbb/Sniffs">
	<fileset dir="${working.dir}/Sniffs" />
    </copy>

  </target>

</project>