From 8adaf10ecabf3c48b39042044fa58e9933b1f208 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Tue, 28 Feb 2006 22:40:19 +0000 Subject: Match singular naming from directory structure [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3713 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- railties/lib/tasks/log.rake | 9 +++++++++ railties/lib/tasks/logs.rake | 9 --------- 2 files changed, 9 insertions(+), 9 deletions(-) create mode 100644 railties/lib/tasks/log.rake delete mode 100644 railties/lib/tasks/logs.rake (limited to 'railties') diff --git a/railties/lib/tasks/log.rake b/railties/lib/tasks/log.rake new file mode 100644 index 0000000000..6e1334692e --- /dev/null +++ b/railties/lib/tasks/log.rake @@ -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 diff --git a/railties/lib/tasks/logs.rake b/railties/lib/tasks/logs.rake deleted file mode 100644 index 32cbaeb358..0000000000 --- a/railties/lib/tasks/logs.rake +++ /dev/null @@ -1,9 +0,0 @@ -namespace :logs 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 -- cgit v1.2.3