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