From dc2cd9219a88edb3d1b15b9041ef5a488d1ae9f2 Mon Sep 17 00:00:00 2001 From: Dan Forsberg Date: Fri, 25 Aug 2017 22:39:39 +0300 Subject: [PATCH] Improve release build --- wscli-php/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wscli-php/Makefile b/wscli-php/Makefile index a4159b6..b1c030a 100644 --- a/wscli-php/Makefile +++ b/wscli-php/Makefile @@ -4,7 +4,9 @@ run: comp cs-fix build coverage php src/wscli.php --version release: build comp-release + ( cd ../wscli-php-sdk; rm -rf vendor ) ( cd vendor/isecurefi/wscli-php-sdk; rm -f *.jar *.xml *.dist ) + ( find . -name "invalid_link" -exec rm {} ";" ) box build -v -c box.json rm -rf vendor; mv vendor.dev vendor ./wscli.phar --version @@ -12,6 +14,7 @@ release: build comp-release comp-release: mkdir -p vendor + rm -rf vendor.dev mv vendor vendor.dev composer install --prefer-source --no-dev composer dump-autoload --optimize