Ensured build does not fail when trying to delete missing optional files

This commit is contained in:
Alejandro Celaya 2017-10-23 13:44:50 +02:00
parent a9dff56a92
commit 909ecc2387

View File

@ -20,8 +20,8 @@ cp -R "${projectdir}"/* "${builtcontent}"
cd "${builtcontent}" cd "${builtcontent}"
# Install dependencies # Install dependencies
rm -r vendor rm -rf vendor
rm composer.lock rm -f composer.lock
composer self-update composer self-update
composer install --no-dev --optimize-autoloader --no-progress --no-interaction composer install --no-dev --optimize-autoloader --no-progress --no-interaction
@ -35,8 +35,8 @@ rm indocker
rm docker-compose.yml rm docker-compose.yml
rm php* rm php*
rm README.md rm README.md
rm -r build rm -rf build
rm -f data/database.sqlite rm -ff data/database.sqlite
rm -rf data/infra rm -rf data/infra
rm -rf data/{cache,log,proxies}/{*,.gitignore} rm -rf data/{cache,log,proxies}/{*,.gitignore}
rm -rf config/params/{*,.gitignore} rm -rf config/params/{*,.gitignore}