Checkout of Instiki Trunk 1/21/2007.
This commit is contained in:
commit
69b62b6f33
1138 changed files with 139586 additions and 0 deletions
9
vendor/rails/railties/lib/tasks/log.rake
vendored
Normal file
9
vendor/rails/railties/lib/tasks/log.rake
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
namespace :log do
|
||||
desc "Truncates all *.log files in log/ to zero bytes"
|
||||
task :clear do
|
||||
FileList["log/*.log"].each do |log_file|
|
||||
f = File.open(log_file, "w")
|
||||
f.close
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue