Revision abd8f1d1
Added by Daniel Lobato Garcia over 9 years ago
lib/tasks/plugin_apipie.rake | ||
---|---|---|
desc 'Generate apipie:cache for plugin - called via rake plugin:apipie:cache[plugin_name]'
|
||
task 'plugin:apipie:cache', :engine do |t, args|
|
||
|
||
if args[:engine]
|
||
# Partially load the Rails environment to avoid
|
||
# the need of a database being setup
|
||
... | ... | |
else
|
||
puts "You must specify the name of the plugin (e.g. rake plugin:apipie:cache['my_plugin'])"
|
||
end
|
||
|
||
end
|
Also available in: Unified diff
Refs #3809 - Remove cops for empty lines