提交 c159b501 编写于 作者: P Piotr Sarnacki

Add example rake task to 'plugin new' generator

上级 f9e33fc0
......@@ -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
......
# 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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册