Sha256: 64a6d7ba77b2bdf735ca862d4723fcca4520afd7c85e9283ce61a289a300dd27

Contents?: true

Size: 352 Bytes

Versions: 18

Compression:

Stored size: 352 Bytes

Contents

require 'rake_factory'

module RakeDependencies
  module Tasks
    class Clean < RakeFactory::Task
      default_name :clean
      default_description ->(t) { "Clean vendored #{t.dependency}" }

      parameter :dependency, :required => true
      parameter :path, :required => true

      action do |t|
        rm_rf t.path
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
rake_dependencies-1.16.0 lib/rake_dependencies/tasks/clean.rb
rake_dependencies-1.15.0.pre.1 lib/rake_dependencies/tasks/clean.rb
rake_dependencies-1.14.0 lib/rake_dependencies/tasks/clean.rb
rake_dependencies-1.13.0.pre.1 lib/rake_dependencies/tasks/clean.rb
rake_dependencies-1.12.0 lib/rake_dependencies/tasks/clean.rb
rake_dependencies-1.11.0.pre.1 lib/rake_dependencies/tasks/clean.rb
rake_dependencies-1.10.0 lib/rake_dependencies/tasks/clean.rb
rake_dependencies-1.9.0.pre.1 lib/rake_dependencies/tasks/clean.rb
rake_dependencies-1.8.0 lib/rake_dependencies/tasks/clean.rb
rake_dependencies-1.7.0.pre.1 lib/rake_dependencies/tasks/clean.rb
rake_dependencies-1.6.0 lib/rake_dependencies/tasks/clean.rb
rake_dependencies-1.5.0.pre.2 lib/rake_dependencies/tasks/clean.rb
rake_dependencies-1.5.0.pre.1 lib/rake_dependencies/tasks/clean.rb
rake_dependencies-1.4.0 lib/rake_dependencies/tasks/clean.rb
rake_dependencies-1.3.0.pre.1 lib/rake_dependencies/tasks/clean.rb
rake_dependencies-1.2.0 lib/rake_dependencies/tasks/clean.rb
rake_dependencies-1.1.0.pre.2 lib/rake_dependencies/tasks/clean.rb
rake_dependencies-1.1.0.pre.1 lib/rake_dependencies/tasks/clean.rb