debian-mirror-gitlab/lib/tasks/dev.rake

16 lines
411 B
Ruby
Raw Normal View History

2014-09-02 18:07:02 +05:30
task dev: ["dev:setup"]
namespace :dev do
2015-09-11 14:41:01 +05:30
desc "GitLab | Setup developer environment (db, fixtures)"
2014-09-02 18:07:02 +05:30
task :setup => :environment do
ENV['force'] = 'yes'
Rake::Task["gitlab:setup"].invoke
Rake::Task["gitlab:shell:setup"].invoke
end
2015-09-11 14:41:01 +05:30
desc 'GitLab | Start/restart foreman and watch for changes'
task :foreman => :environment do
sh 'rerun --dir app,config,lib -- foreman start'
end
2014-09-02 18:07:02 +05:30
end