Skip to content
Snippets Groups Projects
Forked from vtiger / vtigercrm
772 commits behind, 2 commits ahead of the upstream repository.
install-composer-deps.sh 347 B
#!/bin/bash
composer update

# remove files not required in production
readarray -t FILES << EOS
smarty/smarty/demo
smarty/smarty/docs
smarty/smarty/*.sh
dg/rss-php/.github
tecnickcom/tcpdf/examples
tecnickcom/tcpdf/tools
EOS

# set -x
for FILE in ${FILES[*]}; do
    if [[ $FILE ]]
    then
        rm -rf ./vendor/${FILE}
    fi
done

echo "OK"