Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2020-08-26 09:08:37 +0300
committerJulius Härtl <jus@bitgrid.net>2020-08-27 10:16:52 +0300
commit1874349cb902b58ecf8467e64f8efeff8b41781a (patch)
treed2563408da99be0a05f58d9a8d6b8a344cef4326 /build
parent348525426c3adf8fbfbcc16e28e99fcf7320d2e0 (diff)
Add php docs build script
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'build')
-rwxr-xr-xbuild/phpDocumentor.sh11
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`)"