Module: Ra10ke::Diff

Included in:
RakeTask
Defined in:
lib/ra10ke/diff.rb

Defined Under Namespace

Classes: Task

Instance Method Summary collapse

Instance Method Details

#define_task_diff(*_args) ⇒ Object



124
125
126
127
128
129
# File 'lib/ra10ke/diff.rb', line 124

def define_task_diff(*_args)
  desc 'Check for module differences between two branches of a Puppetfile'
  task :diff, [:branch_a, :branch_b] do |_task, args|
    Task.new.run(branch_a: args[:branch_a], branch_b: args[:branch_b])
  end
end