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.
|
|
|
|
|
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")
|
|
|
|
|
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)
|