diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-03-15 11:39:35 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-03-15 11:39:35 +0200 |
commit | 39f80884db394decdb4b4a21a30bc1ecb3203944 (patch) | |
tree | e261a14a3eec5cea67d1479901c3bf1faed14a35 /lib/tasks/dev.rake | |
parent | 6e73b208a9f69c68bf8575d902d6662eb3db0662 (diff) | |
download | gitlab-ce-39f80884db394decdb4b4a21a30bc1ecb3203944.tar.gz |
Improve developer seeds
Return execution of observers in seeds.
Mute email sending to letter opening in you browser.
Added `rake dev` task to reset db and add seeds.
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'lib/tasks/dev.rake')
-rw-r--r-- | lib/tasks/dev.rake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/tasks/dev.rake b/lib/tasks/dev.rake index 7d3602211c1..058c7417040 100644 --- a/lib/tasks/dev.rake +++ b/lib/tasks/dev.rake @@ -1,10 +1,10 @@ +task dev: ["dev:setup"] + namespace :dev do desc "GITLAB | Setup developer environment (db, fixtures)" task :setup => :environment do ENV['force'] = 'yes' - Rake::Task["db:setup"].invoke - Rake::Task["db:seed_fu"].invoke + Rake::Task["gitlab:setup"].invoke Rake::Task["gitlab:shell:setup"].invoke end end - |