소스 검색

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.
master
Joël Quenneville 7 년 전
committed by Eugen
부모
커밋
23eea5c5ae
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. +1
    -0
      bin/setup

+ 1
- 0
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')


불러오는 중...
취소
저장