Skip to content

Commit

Permalink
[BUG] Fix bin/setup
Browse files Browse the repository at this point in the history
Previously, `bin/setup` was failing when executing `bin/appraisal`,
since the command was run within the dummy app directory.
  • Loading branch information
seanpdoyle committed Dec 1, 2015
1 parent f4faf5c commit 14775a5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions bin/setup
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ if ! [ -d spec/dummy/my-app ]; then
bin/setup_ember
fi

# Only if this isn't CI
if [ -z "$CI" ]; then
bin/appraisal install
fi

root="$(pwd)"

cd ${root}/spec/dummy/my-app &&
npm install --save-dev ember-cli-rails-addon@rondale-sc/ember-cli-rails-addon
bower install

cd ${root}/spec/dummy && bundle exec rake ember:install

# Only if this isn't CI
if [ -z "$CI" ]; then
bin/appraisal install
fi

0 comments on commit 14775a5

Please sign in to comment.