| 67 | | <echo>----------------------------------</echo> |
|---|
| 68 | | <echo>| Checking CS of source files |</echo> |
|---|
| 69 | | <echo>----------------------------------</echo> |
|---|
| 70 | | <checkStyle failonerror="true"> |
|---|
| 71 | | <fileset dir="${stubbles.base.dir}/src/main/php"> |
|---|
| 72 | | <include name="**/*.php" /> |
|---|
| 73 | | <exclude name="**/org/simpletest/**" /> |
|---|
| 74 | | </fileset> |
|---|
| 75 | | <fileset dir="${stubbles.base.dir}/src/test/php"> |
|---|
| 76 | | <include name="**/*.php" /> |
|---|
| 77 | | </fileset> |
|---|
| 78 | | <fileset dir="${stubbles.base.dir}/examples"> |
|---|
| 79 | | <include name="**/*.php" /> |
|---|
| 80 | | <exclude name="yui/**" /> |
|---|
| 81 | | </fileset> |
|---|
| 82 | | </checkStyle> |
|---|
| | 67 | <if> |
|---|
| | 68 | <isset property="package" /> |
|---|
| | 69 | <then> |
|---|
| | 70 | <phing phingfile="${build.base.dir}/${package}/build.xml" target="check-style" /> |
|---|
| | 71 | </then> |
|---|
| | 72 | <else> |
|---|
| | 73 | <phing phingfile="${build.base.dir}/stubbles/build.xml" target="check-style" /> |
|---|
| | 74 | </else> |
|---|
| | 75 | </if> |
|---|