updates rake task to delete swap files

This commit is contained in:
Ben Mabey 2011-06-20 19:32:32 -06:00
parent d1bdeda19b
commit 8bcee52a94

View file

@ -56,7 +56,7 @@ task :clean do
"examples/db/datamapper_one.db", "examples/db/datamapper_two.db"].each do |f| "examples/db/datamapper_one.db", "examples/db/datamapper_two.db"].each do |f|
FileUtils.rm_f(f) FileUtils.rm_f(f)
end end
%w[*.sqlite3 *.log].each do |pattern| %w[*.sqlite3 *.log #* *.swp *.swo].each do |pattern|
`find . -name "#{pattern}" -delete` `find . -name "#{pattern}" -delete`
end end
end end