File: Rakefile

package info (click to toggle)
gitlab 11.8.10+dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 155,232 kB
  • sloc: ruby: 567,644; xml: 5,831; sh: 1,769; ansic: 1,757; yacc: 46; makefile: 23
file content (12 lines) | stat: -rwxr-xr-x 461 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
#!/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', __dir__)

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

Gitlab::Application.load_tasks

Knapsack.load_tasks if defined?(Knapsack)