Sha256: 8b9b2c2ae46ac2e594d9417f4d6dd73db32ccdaf2556aeb203f3c892c4126902
Contents?: true
Size: 606 Bytes
Versions: 18
Compression:
Stored size: 606 Bytes
Contents
require 'rake_factory' module RakeDependencies module Tasks class Fetch < RakeFactory::Task default_name :fetch default_description ->(t) { "Fetch #{t.dependency}" } parameter :dependency, required: true parameter :download_task_name, default: :download parameter :extract_task_name, default: :extract action do |t| [ Rake::Task[t.scope.path_with_task_name(t.download_task_name)], Rake::Task[t.scope.path_with_task_name(t.extract_task_name)] ].each do |task| task.invoke end end end end end
Version data entries
18 entries across 18 versions & 1 rubygems