mirror of
https://github.com/thoughtbot/factory_bot_rails.git
synced 2022-11-09 11:49:18 -05:00
4defe4c666
Move manual Appraisal tasks into bin/setup.
16 lines
380 B
Bash
Executable file
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
|