diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-08-09 23:56:20 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-08-09 23:56:20 +0200 |
| commit | f47f82473799c1b177978a0f18dc6ec185fd87e1 (patch) | |
| tree | 7becde5bae8db964c44fe8e9c06723ae8b711949 /lib/tasks/intergity.rake | |
| parent | bb356127ddc7f9ea735e287180057400f1631889 (diff) | |
Remove two dead rake task files
cccms:mysql_to_postgres was the one-time MySQL to PostgreSQL import. It uses
set_table_name and globalize_translations, removed from Rails and Globalize
respectively, so it raises on its first class definition.
ci:run_ci configured Integrity, a CI server this project no longer uses. It
copies config/database.sqlite3-sample.yml, which does not exist, over
config/database.yml, which is a live local file.
Diffstat (limited to 'lib/tasks/intergity.rake')
| -rw-r--r-- | lib/tasks/intergity.rake | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/lib/tasks/intergity.rake b/lib/tasks/intergity.rake deleted file mode 100644 index 1336fb4a..00000000 --- a/lib/tasks/intergity.rake +++ /dev/null | |||
| @@ -1,20 +0,0 @@ | |||
| 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 | |||
| 8 | desc "run all task necessary to build with integrity" | ||
| 9 | task :run_ci do | ||
| 10 | if :fetch_database_config && \ | ||
| 11 | system( "rake db:migrate") && \ | ||
| 12 | system( "rake db:test:clone") && \ | ||
| 13 | system( "rake test:coverage") | ||
| 14 | puts "succeeded" | ||
| 15 | else | ||
| 16 | puts "failed" | ||
| 17 | exit 1 | ||
| 18 | end | ||
| 19 | end | ||
| 20 | end \ No newline at end of file | ||
