Rakefile 461 Bytes
Newer Older
gitlabhq's avatar
gitlabhq committed
1
2
3
4
#!/usr/bin/env rake
# 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.

Lin Jen-Shin's avatar
Lin Jen-Shin committed
5
require File.expand_path('config/application', __dir__)
gitlabhq's avatar
gitlabhq committed
6

Lin Jen-Shin's avatar
Lin Jen-Shin committed
7
relative_url_conf = File.expand_path('config/initializers/relative_url', __dir__)
8
9
require relative_url_conf if File.exist?("#{relative_url_conf}.rb")

gitlabhq's avatar
gitlabhq committed
10
Gitlab::Application.load_tasks
Kamil Trzcinski's avatar
Kamil Trzcinski committed
11

12
Knapsack.load_tasks if defined?(Knapsack)