Commit 080e52e0 authored by Rémy Coutable's avatar Rémy Coutable

Reenable Geo enhancements Rake tasks otherwise they're run only once

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 35d27ffa
......@@ -34,6 +34,12 @@ namespace :geo do
ns.tasks.each do |task|
task.enhance ['geo:config:check', 'geo:config:set'] do
Rake::Task['geo:config:restore'].invoke
# Reenable the tasks, otherwise the following tasks are run only once
# per invocation of `rake`!
Rake::Task['geo:config:check'].reenable
Rake::Task['geo:config:set'].reenable
Rake::Task['geo:config:restore'].reenable
end
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment