diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5b96827..7eb5cc0 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -23,12 +23,19 @@ git pull upstream master git checkout -b my-feature-branch ``` -#### Bundle Install and Test +#### Install dependencies + +You can use the setup script to install dependencies for the gem and its integration tests. + +``` +bin/setup +``` + +#### Test Ensure that you can build the project and run tests. ``` -bundle install bundle exec rake ``` diff --git a/bin/setup b/bin/setup index b65ed50..e52c127 100755 --- a/bin/setup +++ b/bin/setup @@ -1,7 +1,12 @@ #!/bin/bash + set -euo pipefail IFS=$'\n\t' bundle install -# Do any other automated setup that you need to do here +for dir in spec/integration/*; do + pushd "$dir" + bundle install + popd +done