From 1874349cb902b58ecf8467e64f8efeff8b41781a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Wed, 26 Aug 2020 08:08:37 +0200 Subject: [PATCH] Add php docs build script MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- build/phpDocumentor.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 build/phpDocumentor.sh diff --git a/build/phpDocumentor.sh b/build/phpDocumentor.sh new file mode 100755 index 0000000000..07a35ece2d --- /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`)"