2014-04-12 05:47:53 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<project name="phpseclib"
|
|
|
|
description="PHP Secure Communications Library"
|
|
|
|
default="all"
|
|
|
|
>
|
|
|
|
|
2020-08-21 16:43:05 +00:00
|
|
|
<target name="all" depends="sniff" />
|
2014-04-12 05:47:53 +00: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 13:27:59 +00:00
|
|
|
dir=".." checkreturn="true" passthru="true" />
|
2014-04-12 05:47:53 +00: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 13:27:59 +00:00
|
|
|
dir=".." checkreturn="true" passthru="true" />
|
2014-04-12 05:47:53 +00:00
|
|
|
</target>
|
|
|
|
</project>
|