diff options
author | jessib <jessib@riseup.net> | 2013-11-21 09:59:20 -0800 |
---|---|---|
committer | jessib <jessib@riseup.net> | 2013-11-21 09:59:20 -0800 |
commit | 2d9100ef03d283d91b2b8be38fc11ee3c2024a84 (patch) | |
tree | 93ad87436604a6a63cdd13c60aa042727023990f /core/lib/tasks/leap_web_core_tasks.rake | |
parent | d2eaffde87286c0cc9c0658503a60706759f7f51 (diff) | |
parent | cf68a79639861e69f61af85b43a3f72ed7763439 (diff) |
Merge pull request #115 from azul/feature/dump-design-docs
Enable dumping design docs to files
Diffstat (limited to 'core/lib/tasks/leap_web_core_tasks.rake')
-rw-r--r-- | core/lib/tasks/leap_web_core_tasks.rake | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/core/lib/tasks/leap_web_core_tasks.rake b/core/lib/tasks/leap_web_core_tasks.rake index ae5b79b..734fae9 100644 --- a/core/lib/tasks/leap_web_core_tasks.rake +++ b/core/lib/tasks/leap_web_core_tasks.rake @@ -1,4 +1,9 @@ -# desc "Explaining what the task does" -# task :leap_web_core do -# # Task goes here -# end +namespace :couchrest do + + desc "Dump all the design docs found in each model" + task :dump => :environment do + CouchRest::Model::Utils::Migrate.load_all_models + CouchRest::Model::Utils::Migrate.dump_all_models + end +end + |