Added a task to clean the vendor directory

Fixes #1981
This commit is contained in:
Pier-Hugues Pellerin 2014-10-29 14:12:41 -04:00 committed by Jordan Sissel
parent fd621fe3d1
commit d33fef90e4

View file

@ -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