Sha256: 36b372ffb0bb124ca5ca60002a96293750fdd1c7059b877baf7965c8af7ba232

Contents?: true

Size: 187 Bytes

Versions: 58

Compression:

Stored size: 187 Bytes

Contents

require 'rake'

module Knapsack
  class TaskLoader
    include ::Rake::DSL

    def load_tasks
      Dir.glob("#{Knapsack.root}/lib/tasks/*.rake").each { |r| import r }
    end
  end
end

Version data entries

58 entries across 58 versions & 1 rubygems

Version Path
knapsack-4.0.0 lib/knapsack/task_loader.rb
knapsack-3.1.0 lib/knapsack/task_loader.rb
knapsack-3.0.0 lib/knapsack/task_loader.rb
knapsack-2.0.0 lib/knapsack/task_loader.rb
knapsack-1.22.0 lib/knapsack/task_loader.rb
knapsack-1.21.1 lib/knapsack/task_loader.rb
knapsack-1.21.0 lib/knapsack/task_loader.rb
knapsack-1.20.0 lib/knapsack/task_loader.rb
knapsack-1.19.0 lib/knapsack/task_loader.rb
knapsack-1.18.0 lib/knapsack/task_loader.rb
knapsack-1.17.2 lib/knapsack/task_loader.rb
knapsack-1.17.1 lib/knapsack/task_loader.rb
knapsack-1.17.0 lib/knapsack/task_loader.rb
knapsack-1.16.0 lib/knapsack/task_loader.rb
knapsack-1.15.0 lib/knapsack/task_loader.rb
knapsack-1.14.1 lib/knapsack/task_loader.rb
knapsack-1.14.0 lib/knapsack/task_loader.rb
knapsack-1.13.3 lib/knapsack/task_loader.rb
knapsack-1.13.2 lib/knapsack/task_loader.rb
knapsack-1.13.1 lib/knapsack/task_loader.rb