|
|
@ -3,19 +3,23 @@ set -e |
|
|
|
|
|
|
|
|
|
|
|
# setup build system |
|
|
|
# setup build system |
|
|
|
echo "Installing build dependencies..." |
|
|
|
echo "Installing build dependencies..." |
|
|
|
|
|
|
|
echo |
|
|
|
|
|
|
|
|
|
|
|
case "$1" in |
|
|
|
case "$1" in |
|
|
|
"--deploy") |
|
|
|
"--deploy") |
|
|
|
echo "Synchronizing package index files..." |
|
|
|
echo "Synchronizing package index files..." |
|
|
|
sudo apt-get update |
|
|
|
sudo apt-get update |
|
|
|
|
|
|
|
echo |
|
|
|
|
|
|
|
|
|
|
|
echo "Installing cloc..." |
|
|
|
echo "Installing cloc..." |
|
|
|
sudo apt-get install -y cloc |
|
|
|
sudo apt-get install -y cloc |
|
|
|
|
|
|
|
echo |
|
|
|
|
|
|
|
|
|
|
|
echo "Installing phpDocumentor..." |
|
|
|
echo "Installing phpDocumentor..." |
|
|
|
curl --location --output "$PICO_TOOLS_DIR/phpdoc" \ |
|
|
|
curl --location --output "$PICO_TOOLS_DIR/phpdoc" \ |
|
|
|
"https://github.com/phpDocumentor/phpDocumentor2/releases/latest/download/phpDocumentor.phar" |
|
|
|
"https://github.com/phpDocumentor/phpDocumentor2/releases/latest/download/phpDocumentor.phar" |
|
|
|
chmod +x "$PICO_TOOLS_DIR/phpdoc" |
|
|
|
chmod +x "$PICO_TOOLS_DIR/phpdoc" |
|
|
|
|
|
|
|
echo |
|
|
|
;; |
|
|
|
;; |
|
|
|
esac |
|
|
|
esac |
|
|
|
|
|
|
|
|
|
|
|