Skip to content

Commit

Permalink
Improve release build
Browse files Browse the repository at this point in the history
  • Loading branch information
dforsber committed Aug 25, 2017
1 parent 24d4acb commit dc2cd92
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions wscli-php/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,17 @@ 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
( ./wscli.phar || true )

comp-release:
mkdir -p vendor
rm -rf vendor.dev
mv vendor vendor.dev
composer install --prefer-source --no-dev
composer dump-autoload --optimize
Expand Down

0 comments on commit dc2cd92

Please sign in to comment.