diff options
author | Tom Duffield <tom@chef.io> | 2017-02-09 20:16:45 -0600 |
---|---|---|
committer | Tom Duffield <tom@chef.io> | 2017-02-09 20:16:45 -0600 |
commit | 845cc57b4742299e8715adfa7b46df319d0808ea (patch) | |
tree | c95b6eefaf901547799bbd6a1f69a2341b3a8169 /tasks | |
parent | 57c00434c86f7fc9997c96e0e666ffb7a59f3bca (diff) | |
download | chef-845cc57b4742299e8715adfa7b46df319d0808ea.tar.gz |
Add back a few gems that are required (and document why)
Signed-off-by: Tom Duffield <tom@chef.io>
Diffstat (limited to 'tasks')
-rw-r--r-- | tasks/dependencies.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tasks/dependencies.rb b/tasks/dependencies.rb index 189a147fe1..b37c351d12 100644 --- a/tasks/dependencies.rb +++ b/tasks/dependencies.rb @@ -29,6 +29,12 @@ namespace :dependencies do system("#{File.join(Dir.pwd, "ci", "dependency_update.sh")}") end + desc "Force update (when adding new gems to Gemfiles)" + task :force_update do |t, rake_args| + FileUtils.rm_f(File.join(Dir.pwd, ".bundle", "config")) + system("#{File.join(Dir.pwd, "ci", "dependency_update.sh")}") + end + # Update all dependencies to the latest constraint-matching version desc "Update all dependencies. dependencies:update to update as little as possible (CI-only)." task :update_ci => %w{ |