diff options
| author | hukl <contact@smyck.org> | 2009-02-27 23:40:17 +0100 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-02-27 23:40:17 +0100 |
| commit | b7ffea335469bfa6ce28b7e1693b7f7205df49e7 (patch) | |
| tree | 2ff46ef660f68ec06614b2cd95957cb4a39788b1 /lib | |
| parent | 01b3a5fc2e55a83e138b78c9066c57caf9f6ccfa (diff) | |
new task
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/tasks/intergity.rake | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/tasks/intergity.rake b/lib/tasks/intergity.rake index 0596167..fb7e53c 100644 --- a/lib/tasks/intergity.rake +++ b/lib/tasks/intergity.rake | |||
| @@ -4,4 +4,15 @@ namespace :ci do | |||
| 4 | 4 | ||
| 5 | FileUtils.cp db_config, File.join(%w{config database.yml}) | 5 | FileUtils.cp db_config, File.join(%w{config database.yml}) |
| 6 | end | 6 | end |
| 7 | |||
| 8 | task :run_ci do | ||
| 9 | |||
| 10 | system "git submodule init" | ||
| 11 | system "git submodule update" | ||
| 12 | :fetch_database_config | ||
| 13 | system "rake db:migrate" | ||
| 14 | system "rake db:test:clone" | ||
| 15 | system "rake test" | ||
| 16 | |||
| 17 | end | ||
| 7 | end \ No newline at end of file | 18 | end \ No newline at end of file |
