summaryrefslogtreecommitdiff
path: root/lib/tasks/dev.rake
blob: b1db4dc94a6010f614560aad79360c85afa4c5e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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.configuration.eager_load = true
    Rails.application.eager_load!
  end
end