Rakefile 469 Bytes
Newer Older
gitlabhq's avatar
gitlabhq committed
1 2 3 4 5 6
#!/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.

require File.expand_path('../config/application', __FILE__)

7 8 9
relative_url_conf = File.expand_path('../config/initializers/relative_url', __FILE__)
require relative_url_conf if File.exist?("#{relative_url_conf}.rb")

gitlabhq's avatar
gitlabhq committed
10
Gitlab::Application.load_tasks
Kamil Trzciński's avatar
Kamil Trzciński committed
11

12
Knapsack.load_tasks if defined?(Knapsack)