root / trunk / code_sniffer / phpbb / build.xml
History | View | Annotate | Download (612 Bytes)
| 1 | 8434 | mapi | <?xml version="1.0" encoding="UTF-8"?>
|
|---|---|---|---|
| 2 | 10207 | acydburn | <project name="code_sniffer" basedir="." default="install"> |
| 3 | 8434 | mapi | |
| 4 | 10207 | acydburn | <property name="working.dir" value="${basedir}" /> |
| 5 | 10207 | acydburn | <property name="target.dir" value="/usr/share/php/PHP/CodeSniffer/Standards" /> |
| 6 | 8434 | mapi | |
| 7 | 8435 | mapi | <!--
|
| 8 | 10207 | acydburn | Install phpbb sniff |
| 9 | 8435 | mapi | --> |
| 10 | 8435 | mapi | <target name="install"> |
| 11 | 10207 | acydburn | <delete dir="${target.dir}/phpbb" /> |
| 12 | 10207 | acydburn | <mkdir dir="${target.dir}/phpbb"/> |
| 13 | 8434 | mapi | |
| 14 | 10207 | acydburn | <copy todir="${target.dir}/phpbb"> |
| 15 | 10207 | acydburn | <fileset file="${working.dir}/phpbbCodingStandard.php" /> |
| 16 | 8435 | mapi | </copy>
|
| 17 | 10207 | acydburn | <copy todir="${target.dir}/phpbb/Sniffs"> |
| 18 | 10207 | acydburn | <fileset dir="${working.dir}/Sniffs" /> |
| 19 | 10207 | acydburn | </copy>
|
| 20 | 10207 | acydburn | |
| 21 | 8435 | mapi | </target>
|
| 22 | 8434 | mapi | |
| 23 | 8434 | mapi | </project> |

