mirror of
https://github.com/danog/tgseclib.git
synced 2024-11-26 20:24:39 +01:00
Add api target to phing build script.
This commit is contained in:
parent
d86a17271f
commit
ffccec59cb
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user