2014-04-12 07:47:53 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<project name="phpseclib"
|
|
|
|
description="PHP Secure Communications Library"
|
|
|
|
default="all"
|
|
|
|
>
|
|
|
|
|
2014-07-19 01:10:30 +02:00
|
|
|
<target name="all" depends="sniff,api" />
|
2014-04-12 07:47:53 +02:00
|
|
|
|
|
|
|
<!-- Code Sniffer -->
|
|
|
|
<target name="sniff" depends="sniff-php-code,sniff-php-tests" />
|
|
|
|
<target name="sniff-php-code">
|
|
|
|
<exec command="vendor/bin/phpcs -s
|
|
|
|
--extensions=php
|
|
|
|
--standard=build/code-sniffer-ruleset.xml
|
|
|
|
phpseclib/"
|
2014-04-19 15:27:59 +02:00
|
|
|
dir=".." checkreturn="true" passthru="true" />
|
2014-04-12 07:47:53 +02:00
|
|
|
</target>
|
|
|
|
<target name="sniff-php-tests">
|
|
|
|
<exec command="vendor/bin/phpcs -s
|
|
|
|
--extensions=php
|
|
|
|
--standard=build/code-sniffer-ruleset-tests.xml
|
|
|
|
tests/"
|
2014-04-19 15:27:59 +02:00
|
|
|
dir=".." checkreturn="true" passthru="true" />
|
2014-04-12 07:47:53 +02:00
|
|
|
</target>
|
|
|
|
</project>
|