2011-10-08 17:36:38 -04:00
|
|
|
#!/usr/bin/env rake
|
2021-02-12 07:09:02 -05:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2011-10-08 17:36:38 -04:00
|
|
|
# Add your own tasks in files placed in lib/tasks ending in .rake,
|
|
|
|
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
|
|
|
|
|
2021-04-19 08:09:04 -04:00
|
|
|
Rake::TaskManager.record_task_metadata = true
|
|
|
|
|
2018-07-02 06:43:06 -04:00
|
|
|
require File.expand_path('config/application', __dir__)
|
2011-10-08 17:36:38 -04:00
|
|
|
|
2018-07-02 06:43:06 -04:00
|
|
|
relative_url_conf = File.expand_path('config/initializers/relative_url', __dir__)
|
2016-02-25 17:10:32 -05:00
|
|
|
require relative_url_conf if File.exist?("#{relative_url_conf}.rb")
|
|
|
|
|
2022-03-16 20:07:59 -04:00
|
|
|
require File.expand_path('config/initializers/01_active_record_database_tasks_configuration_flag.rb', __dir__)
|
|
|
|
|
2011-10-08 17:36:38 -04:00
|
|
|
Gitlab::Application.load_tasks
|
2016-05-21 21:17:15 -04:00
|
|
|
|
2016-06-07 13:29:33 -04:00
|
|
|
Knapsack.load_tasks if defined?(Knapsack)
|
2022-03-23 20:07:27 -04:00
|
|
|
|
|
|
|
require 'gitlab-dangerfiles'
|
|
|
|
Gitlab::Dangerfiles.load_tasks
|