From dca3fb35c76612d247d36ea4c088fd4d08fc071e Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Thu, 8 Aug 2019 09:56:53 +0200 Subject: [PATCH] Improved build script --- build.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index e29f90d4..7969b6aa 100755 --- a/build.sh +++ b/build.sh @@ -20,8 +20,14 @@ rsync -av * "${builtcontent}" \ --exclude=bin/test \ --exclude=data/infra \ --exclude=data/travis \ + --exclude=data/cache/* \ + --exclude=data/log/* \ + --exclude=data/locks/* \ + --exclude=data/proxies/* \ --exclude=data/migrations_template.txt \ - --exclude=data/GeoLite2-City.mmdb \ + --exclude=data/GeoLite2-City.* \ + --exclude=data/database.sqlite \ + --exclude=data/shlink-tests.db \ --exclude=**/.gitignore \ --exclude=CHANGELOG.md \ --exclude=composer.lock \ @@ -47,7 +53,6 @@ ${composerBin} install --no-dev --optimize-autoloader --apcu-autoloader --no-pro # Delete development files echo 'Deleting dev files...' rm composer.* -rm -f data/database.sqlite # Update shlink version in config sed -i "s/%SHLINK_VERSION%/${version}/g" config/autoload/app_options.global.php