diff options
author | Julius Härtl <jus@bitgrid.net> | 2020-08-26 08:08:37 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2020-08-27 09:16:52 +0200 |
commit | 1874349cb902b58ecf8467e64f8efeff8b41781a (patch) | |
tree | d2563408da99be0a05f58d9a8d6b8a344cef4326 /build/phpDocumentor.sh | |
parent | 348525426c3adf8fbfbcc16e28e99fcf7320d2e0 (diff) | |
download | nextcloud-server-1874349cb902b58ecf8467e64f8efeff8b41781a.tar.gz nextcloud-server-1874349cb902b58ecf8467e64f8efeff8b41781a.zip |
Add php docs build script
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'build/phpDocumentor.sh')
-rwxr-xr-x | build/phpDocumentor.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/build/phpDocumentor.sh b/build/phpDocumentor.sh new file mode 100755 index 00000000000..07a35ece2d6 --- /dev/null +++ b/build/phpDocumentor.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +# Use a cached version of phpDocumentor for now since there is no release yet +# and the github actions artifacts might disappear +# This phar is downloaded from https://github.com/phpDocumentor/phpDocumentor/actions/runs/221599704 + +wget https://bitgrid.net/~jus/phpDocumentor.phar + +mkdir -p api/ + +php7.4 phpDocumentor.phar -t "./api" -d "./lib/public" --title="Nextcloud PHP API (`git rev-parse --abbrev-ref HEAD`)" |