Permalink
Browse files

Add example rake task to 'plugin new' generator

  • Loading branch information...
drogus committed Nov 2, 2010
1 parent f9e33fc commit c159b501b0743928bda6a9d0609c263e50691676
@@ -29,6 +29,7 @@ def gitignore
def lib
template "lib/%name%.rb"
+ template "lib/tasks/%name%_tasks.rake"
if full?
template "lib/%name%/engine.rb"
end
@@ -0,0 +1,4 @@
+# desc "Explaining what the task does"
+# task :<%= name %> do
+# # Task goes here
+# end
@@ -11,6 +11,7 @@
MIT-LICENSE
lib
lib/bukkits.rb
+ lib/tasks/bukkits_tasks.rake
script/rails
test/bukkits_test.rb
test/test_helper.rb

0 comments on commit c159b50

Please sign in to comment.