2014-09-02 18:07:02 +05:30
|
|
|
#!/usr/bin/env rake
|
2021-03-11 19:13:27 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2014-09-02 18:07:02 +05:30
|
|
|
# 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-29 21:17:54 +05:30
|
|
|
Rake::TaskManager.record_task_metadata = true
|
|
|
|
|
2018-11-18 11:00:15 +05:30
|
|
|
require File.expand_path('config/application', __dir__)
|
2014-09-02 18:07:02 +05:30
|
|
|
|
2018-11-18 11:00:15 +05:30
|
|
|
relative_url_conf = File.expand_path('config/initializers/relative_url', __dir__)
|
2016-04-02 18:10:28 +05:30
|
|
|
require relative_url_conf if File.exist?("#{relative_url_conf}.rb")
|
|
|
|
|
2022-05-07 20:08:51 +05:30
|
|
|
require File.expand_path('config/initializers/01_active_record_database_tasks_configuration_flag.rb', __dir__)
|
|
|
|
|
2014-09-02 18:07:02 +05:30
|
|
|
Gitlab::Application.load_tasks
|
2016-06-16 23:09:34 +05:30
|
|
|
|
|
|
|
Knapsack.load_tasks if defined?(Knapsack)
|
2022-06-21 17:19:12 +05:30
|
|
|
|
|
|
|
require 'gitlab-dangerfiles'
|
|
|
|
Gitlab::Dangerfiles.load_tasks
|