1
0
mirror of https://github.com/danog/phpseclib.git synced 2024-11-29 20:29:23 +01:00

Add api target to phing build script.

This commit is contained in:
Andreas Fischer 2014-07-19 01:10:30 +02:00
parent d86a17271f
commit ffccec59cb

View File

@ -4,7 +4,7 @@
default="all"
>
<target name="all" depends="sniff" />
<target name="all" depends="sniff,api" />
<!-- Code Sniffer -->
<target name="sniff" depends="sniff-php-code,sniff-php-tests" />
@ -23,4 +23,10 @@
dir=".." checkreturn="true" passthru="true" />
</target>
<!-- API Generation -->
<target name="api">
<exec command="vendor/bin/sami.php update build/sami.conf.php"
dir=".." passthru="true" />
</target>
</project>