diff --git a/bin/rebuild b/bin/rebuild index c6b9cbc..978d51b 100755 --- a/bin/rebuild +++ b/bin/rebuild @@ -2,8 +2,8 @@ composer rebuild-api -git ls-files -m +echo "MODIFIED FILES:" +git ls-files -m src/Api -set +o pipefail -git ls-files -m | wc -l; exit "${PIPESTATUS[0]}" +exit $(git ls-files -m src/Api | wc -l) diff --git a/composer.json b/composer.json index a7a3c38..c6cfb19 100644 --- a/composer.json +++ b/composer.json @@ -32,7 +32,7 @@ "require-dev" :{ "symfony/var-dumper" : "^3.2", - "php-http/guzzle6-adapter": "^1.1", + "php-http/guzzle6-adapter": ">=1.1.1", "phpspec/phpspec": "^3.2" }, "autoload": {