summaryrefslogtreecommitdiff
path: root/lib/tasks/dev.rake
blob: 4beb94eeb8e11b5de51fb255d5d015c613ad4f4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
task dev: ["dev:setup"]

namespace :dev do
  desc "GitLab | Setup developer environment (db, fixtures)"
  task setup: :environment do
    ENV['force'] = 'yes'
    Rake::Task["gitlab:setup"].invoke
    Rake::Task["gitlab:shell:setup"].invoke
  end

  desc "GitLab | Eager load application"
  task load: :environment do
    Rails.application.eager_load!
  end
end