diff options
author | Joël Quenneville <joel.quen@gmail.com> | 2017-04-19 08:29:23 -0400 |
---|---|---|
committer | Eugen <eugen@zeonfederated.com> | 2017-04-19 14:29:23 +0200 |
commit | 23eea5c5ae08376b277d1bae3a621a444022079c (patch) | |
tree | e4a1a9d84d79a5d13971edb6a3e18f5cc2e14498 | |
parent | 35bdacba7a1227e69b59d1a6316a775494509824 (diff) |
Install Yarn dependencies during setup (#1169)
Previously the `bin/setup` script only installed the Ruby dependencies via Bundler. This is not sufficient to get the test suite to pass. We also need the JavaScript dependencies. This commit installs the JavaScript dependencies as part of the `bin/setup` script via Yarn. This allows for a successful bin/setup && bundle exec rake on a fresh clone of the repo.
-rwxr-xr-x | bin/setup | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/setup b/bin/setup index e620b4dad..72b62a028 100755 --- a/bin/setup +++ b/bin/setup @@ -17,6 +17,7 @@ chdir APP_ROOT do puts '== Installing dependencies ==' system! 'gem install bundler --conservative' system('bundle check') || system!('bundle install') + system!('yarn install') # puts "\n== Copying sample files ==" # unless File.exist?('config/database.yml') |