gitlab-org--gitlab-foss/Rakefile

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
712 B
Ruby
Raw Permalink Normal View History

2011-10-08 21:36:38 +00:00
#!/usr/bin/env rake
# frozen_string_literal: true
2011-10-08 21:36:38 +00: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.
Rake::TaskManager.record_task_metadata = true
2018-07-02 10:43:06 +00:00
require File.expand_path('config/application', __dir__)
2011-10-08 21:36:38 +00:00
2018-07-02 10:43:06 +00:00
relative_url_conf = File.expand_path('config/initializers/relative_url', __dir__)
require relative_url_conf if File.exist?("#{relative_url_conf}.rb")
require File.expand_path('config/initializers/01_active_record_database_tasks_configuration_flag.rb', __dir__)
2011-10-08 21:36:38 +00:00
Gitlab::Application.load_tasks
2016-05-22 01:17:15 +00:00
Knapsack.load_tasks if defined?(Knapsack)
require 'gitlab-dangerfiles'
Gitlab::Dangerfiles.load_tasks