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:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2020-08-26 22:18:11 +0300
committerGitHub <noreply@github.com>2020-08-26 22:18:11 +0300
commitb5e9f7e846c8389d36c789d6b3a7c7a3c02e924d (patch)
treef840e00c287a5e3c0fe6efa59ffe9d8e06992fb1 /build
parent7685d1fc615231edb144a4a3057389d7deb3daa9 (diff)
parent45a474071e2245a3d2c31a193a02e707c53c5790 (diff)
Merge pull request #22432 from nextcloud/enh/phpdoc
Add php docs build script
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`)"