diff options
| author | hukl <contact@smyck.org> | 2009-02-27 23:32:14 +0100 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-02-27 23:32:14 +0100 |
| commit | 01b3a5fc2e55a83e138b78c9066c57caf9f6ccfa (patch) | |
| tree | 5b944a9df055bb0cb914be62f09e09c6c4a8767d /lib | |
| parent | 69a37065f9f523c25bc4edb9c70a9b21578d46f6 (diff) | |
rake task for integrity
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/tasks/intergity.rake | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/tasks/intergity.rake b/lib/tasks/intergity.rake new file mode 100644 index 0000000..0596167 --- /dev/null +++ b/lib/tasks/intergity.rake | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | namespace :ci do | ||
| 2 | task :fetch_database_config do | ||
| 3 | db_config = File.join(%w{config database.sqlite3-sample.yml}) | ||
| 4 | |||
| 5 | FileUtils.cp db_config, File.join(%w{config database.yml}) | ||
| 6 | end | ||
| 7 | end \ No newline at end of file | ||
