phpseclib/build/build.xml

33 lines
925 B
XML
Raw Normal View History

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"
>
2014-07-18 23:10:30 +00:00
<target name="all" depends="sniff,api" />
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/"
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/"
dir=".." checkreturn="true" passthru="true" />
2014-04-12 05:47:53 +00:00
</target>
2014-07-18 23:10:30 +00:00
<!-- API Generation -->
<target name="api">
<exec command="vendor/bin/sami.php update build/sami.conf.php"
dir=".." passthru="true" />
</target>
2014-04-12 05:47:53 +00:00
</project>