Changeset 1310
- Timestamp:
- 01/29/08 11:36:42 (6 months ago)
- Files:
-
- trunk/build/stubbles/build.xml (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/build/stubbles/build.xml
r1308 r1310 257 257 <echo>| Checking CS of source files |</echo> 258 258 <echo>----------------------------------</echo> 259 <property name="check.path" value="main"/> 260 <echo message="currently 'check.path' is set to '${check.path}'"/> 259 261 <input propertyname="namespace" promptChar=":">which stubbles namespace should be checked</input> 260 262 <if> … … 265 267 <then> 266 268 <!-- normal slashes --> 267 <exec command="phpcs --standard=${stubbles.base.dir}/src/main/php/org/stubbles/codeSniffer/Stubbles ${stubbles.base.dir}/src/ main/php/net/stubbles/${namespace}" passthru="true"/>269 <exec command="phpcs --standard=${stubbles.base.dir}/src/main/php/org/stubbles/codeSniffer/Stubbles ${stubbles.base.dir}/src/${check.path}/php/net/stubbles/${namespace}" passthru="true"/> 268 270 </then> 269 271 <elseif> … … 271 273 <then> 272 274 <!-- must be backslashes in first case or PHP_CodeSniffer doesn't find own sniffs --> 273 <exec command="phpcs --standard=${stubbles.base.dir}\src\main\php\org\stubbles\codeSniffer\Stubbles ${stubbles.base.dir}/src/ main/php/net/stubbles/${namespace}" passthru="true"/>275 <exec command="phpcs --standard=${stubbles.base.dir}\src\main\php\org\stubbles\codeSniffer\Stubbles ${stubbles.base.dir}/src/${check.path}/php/net/stubbles/${namespace}" passthru="true"/> 274 276 </then> 275 277 </elseif>
