Skip to content

Commit

Permalink
Added a task to clean the vendor directory
Browse files Browse the repository at this point in the history
  • Loading branch information
ph authored and jordansissel committed Nov 11, 2014
1 parent fd621fe commit d33fef9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions rakelib/vendor.rake
Original file line number Diff line number Diff line change
Expand Up @@ -252,4 +252,9 @@ namespace "vendor" do
File.write(DONEFILE, Time.now.to_s)
end # task gems
task "all" => "gems"

desc 'Clean the vendored files'
task :clean do
FileUtils.rm_rf(vendor) if Dir.exist?(vendor)
end
end

0 comments on commit d33fef9

Please sign in to comment.