1
0
mirror of https://github.com/danog/tgseclib.git synced 2024-11-27 04:34:45 +01:00
tgseclib/build/build.xml

33 lines
925 B
XML
Raw Normal View History

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