summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/make-archive.sh10
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