Skip to content
Browse files

move bullet.rake and change namespace to bullet:log

  • Loading branch information...
1 parent f8ae119 commit 8ad76b2a41261fd5d2bf54c07bf7ef815ac507d9 @flyerhzm committed
Showing with 9 additions and 13 deletions.
  1. +0 −9 lib/tasks/bullet.rake
  2. +9 −4 tasks/bullet_tasks.rake
View
9 lib/tasks/bullet.rake
@@ -1,9 +0,0 @@
-namespace :log do
- namespace :bullet do
- desc "Truncates the bullet log file to zero bytes"
- task :clear do
- f = File.open("log/bullet.log", "w")
- f.close
- end
- end
-end
View
13 tasks/bullet_tasks.rake
@@ -1,4 +1,9 @@
-# desc "Explaining what the task does"
-# task :bullet do
-# # Task goes here
-# end
+namespace :bullet do
+ namespace :log do
+ desc "Truncates the bullet log file to zero bytes"
+ task :clear do
+ f = File.open("log/bullet.log", "w")
+ f.close
+ end
+ end
+end

0 comments on commit 8ad76b2

Please sign in to comment.
Something went wrong with that request. Please try again.