diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-01-10 16:14:06 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-01-10 16:14:06 -0500 |
commit | c5e4c781f5cbda416e0077e88fe75bf5b785f659 (patch) | |
tree | 1ddc7f321c484b392ad6cdfdd477067b9c11a446 | |
parent | b1e484fad6c6d77ea23c391212bd705805f2284e (diff) |
Remove useless files in vendor/
-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 |