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
1 changed files with 7 additions and 1 deletions

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>