summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorMichael Herold <opensource@michaeljherold.com>2019-11-16 20:59:04 -0600
committerMichael Herold <opensource@michaeljherold.com>2019-11-17 11:49:54 -0600
commita193865fde1b4c9548d91b06abea479235fcd556 (patch)
tree6f3e0387e7638cb8c57a2494a87dfba28f84c6b2 /bin
parent729c99b11ad73755840590faee6909c315898a53 (diff)
downloadhashie-a193865fde1b4c9548d91b06abea479235fcd556.tar.gz
Improve the setup script
We weren't installing the dependencies for the integration tests so the default Rake task was failing upon first run on a new machine.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/setup7
1 files changed, 6 insertions, 1 deletions
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