module Beaker::DSL::Helpers::RakeHelpers

Methods that help you interact with rake during ci setup

Public Class Methods

load_tasks(beaker_root = File.expand_path(" click to toggle source
# File lib/beaker-puppet/helpers/rake_helpers.rb, line 7
def load_tasks(beaker_root = File.expand_path("#{__dir__}/../../.."))
  task_dir = File.join(beaker_root, 'tasks')
  tasks = [
    'ci.rake'
  ]

  tasks.each do |task|
    load File.join(task_dir, task)
  end
end