Commit b84da20a authored by Rémy Coutable's avatar Rémy Coutable

Move EE-specific tasks to ee/lib/tasks

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent fe6a4a36
...@@ -43,13 +43,9 @@ module Gitlab ...@@ -43,13 +43,9 @@ module Gitlab
end end
config.eager_load_paths.concat(ee_paths) config.eager_load_paths.concat(ee_paths)
config.paths['app/views'].concat(%W[ config.paths['lib/tasks'] << "#{config.root}/ee/lib/tasks"
#{config.root}/ee/app/views config.paths['app/views'] << "#{config.root}/ee/app/views"
]) config.helpers_paths << "#{config.root}/ee/app/helpers"
config.helpers_paths.push(*%W[
#{config.root}/ee/app/helpers
])
# Rake tasks ignore the eager loading settings, so we need to set the # Rake tasks ignore the eager loading settings, so we need to set the
# autoload paths explicitly # autoload paths explicitly
......
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