BigW Consortium Gitlab

dev.rake 411 Bytes
Newer Older
1 2
task dev: ["dev:setup"]

3
namespace :dev do
4
  desc "GitLab | Setup developer environment (db, fixtures)"
5 6
  task :setup => :environment do
    ENV['force'] = 'yes'
7
    Rake::Task["gitlab:setup"].invoke
8 9
    Rake::Task["gitlab:shell:setup"].invoke
  end
10

11
  desc 'GitLab | Start/restart foreman and watch for changes'
12 13 14
  task :foreman => :environment do
    sh 'rerun --dir app,config,lib -- foreman start'
  end
15
end