1
0
Fork 0
mirror of https://github.com/thoughtbot/factory_bot_rails.git synced 2022-11-09 11:49:18 -05:00
thoughtbot--factory_bot_rails/bin/setup
Dan Croak 4defe4c666 Add bin/setup, improve contributing guidelines
Move manual Appraisal tasks into bin/setup.
2014-05-27 00:41:28 -07:00

16 lines
380 B
Bash
Executable file

#!/usr/bin/env sh
# Run this script immediately after cloning the codebase.
# Exit if any subcommand fails
set -e
# Set up Ruby dependencies via Bundler
bundle install
# Add binstubs to PATH in ~/.zshenv like this:
# export PATH=".git/safe/../../bin:$PATH"
mkdir -p .git/safe
# Set up Appraisal to help us test against multiple Rails versions
bundle exec appraisal install