diff options
Diffstat (limited to 'scripts/make-archive.sh')
-rwxr-xr-x | scripts/make-archive.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/make-archive.sh b/scripts/make-archive.sh index 14f21c2b..ea9084f5 100755 --- a/scripts/make-archive.sh +++ b/scripts/make-archive.sh @@ -41,6 +41,16 @@ rm -rf data/*.sqlite \ Dockerfile \ composer.* +find ./vendor -name doc -type d -exec rm -rf {} +; +find ./vendor -name notes -type d -exec rm -rf {} +; +find ./vendor -name test -type d -exec rm -rf {} +; +find ./vendor -name tests -type d -exec rm -rf {} +; +find ./vendor -name composer.json -delete +find ./vendor -name phpunit.xml -delete +find ./vendor -name .travis.yml -delete +find ./vendor -name README.* -delete +find ./vendor -name .gitignore -delete + # Set the version number sed -i.bak s/master/$VERSION/g app/constants.php && rm -f app/*.bak |