Sha256: f91cc8426045d950294341ca513af29d942e8d2a115110f10a40cb8d46ae2deb
Contents?: true
Size: 453 Bytes
Versions: 33
Compression:
Stored size: 453 Bytes
Contents
require_relative '../tasklib' module RakeDependencies module Tasks class Clean < TaskLib parameter :name, :default => :clean parameter :path, :required => true parameter :dependency, :required => true def process_arguments(args) self.name = args[0] if args[0] end def define desc "Clean vendored #{dependency}" task name do rm_rf path end end end end end
Version data entries
33 entries across 33 versions & 2 rubygems