diff options
| author | Alban Peignier | 2017-08-24 14:06:00 +0200 |
|---|---|---|
| committer | Alban Peignier | 2017-08-24 14:06:00 +0200 |
| commit | a783663e1d9dffaef116f48820008927695095a4 (patch) | |
| tree | ab8382e55a9078f13b585cb4d72bd2a6b8dfe087 | |
| parent | 5aec3648aef7b3cfc7f1601d472cab551b9ad54d (diff) | |
| download | chouette-core-a783663e1d9dffaef116f48820008927695095a4.tar.bz2 | |
Unify npm options in ci rake task and capistrano. Remove --silent option to display ... errors
| -rw-r--r-- | config/deploy.rb | 2 | ||||
| -rw-r--r-- | lib/tasks/ci.rake | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/config/deploy.rb b/config/deploy.rb index 4ab888e92..fdd0b1d1d 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -24,7 +24,7 @@ require "bundler/capistrano" require 'whenever/capistrano' require 'capistrano/npm' -set :npm_options, '--production --silent --no-progress' +set :npm_options, '--production --no-progress' after 'deploy:finalize_update', 'npm:install' diff --git a/lib/tasks/ci.rake b/lib/tasks/ci.rake index d9828ae15..90e47560e 100644 --- a/lib/tasks/ci.rake +++ b/lib/tasks/ci.rake @@ -3,7 +3,7 @@ namespace :ci do task :setup do cp "config/database/jenkins.yml", "config/database.yml" sh "RAILS_ENV=test rake db:migrate" - sh "npm install" + sh "npm --production --no-progress install" end def git_branch |
