1
0
mirror of https://github.com/danog/phpseclib.git synced 2024-11-30 04:39:21 +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" default="all"
> >
<target name="all" depends="sniff" /> <target name="all" depends="sniff,api" />
<!-- Code Sniffer --> <!-- Code Sniffer -->
<target name="sniff" depends="sniff-php-code,sniff-php-tests" /> <target name="sniff" depends="sniff-php-code,sniff-php-tests" />
@ -23,4 +23,10 @@
dir=".." checkreturn="true" passthru="true" /> dir=".." checkreturn="true" passthru="true" />
</target> </target>
<!-- API Generation -->
<target name="api">
<exec command="vendor/bin/sami.php update build/sami.conf.php"
dir=".." passthru="true" />
</target>
</project> </project>