Better names for tasks
This commit is contained in:
+3
-3
@@ -1,7 +1,7 @@
|
||||
namespace :rate_plugin do
|
||||
namespace :budget do
|
||||
desc "Export the values of the Budget plugin to a file"
|
||||
task :pre => :environment do
|
||||
desc "Export the values of the Budget plugin to a file before installing the rate plugin"
|
||||
task :pre_install_export => :environment do
|
||||
|
||||
unless Redmine::Plugin.registered_plugins[:budget_plugin].version == "0.1.0"
|
||||
puts "ERROR: This task is only needed when upgrading from version 0.1.0 to version 0.2.0"
|
||||
@@ -39,7 +39,7 @@ namespace :rate_plugin do
|
||||
end
|
||||
|
||||
desc "Check the values of the export"
|
||||
task :post => :environment do
|
||||
task :post_install_check => :environment do
|
||||
|
||||
unless Redmine::Plugin.registered_plugins[:budget_plugin].version == "0.2.0"
|
||||
puts "ERROR: Please upgrade the budget_plugin to 0.2.0 now"
|
||||
|
||||
Reference in New Issue
Block a user