Sha256: e86467eea6ca0c79656395a7b0bf224467671d90846f36b02b25443b748fc6b5
Contents?: true
Size: 1.07 KB
Versions: 17
Compression:
Stored size: 1.07 KB
Contents
namespace :editorial_logic do desc "Install EditorialLogic into your application." task :install do dir = Gem.searcher.find('editorial_logic').full_gem_path system "rsync -ruv #{dir}/config/initializers/editorial_logic.rb config/initializers/" puts puts "=========================================================================================" puts "EditorialLogic installation complete." puts "=========================================================================================" puts puts "Run rake editorial_logic:views if you want to customize views for your application." puts puts "=========================================================================================" puts end desc "Copy views from EditorialLogic into the host application" task :views do dir = Gem.searcher.find('editorial_logic').full_gem_path system "rsync -ruv #{dir}/app/views/admin app/views/" system "rsync -ruv #{dir}/app/views/admin app/managed_contents/" system "rsync -ruv #{dir}/app/views/admin app/publications/" end end
Version data entries
17 entries across 17 versions & 1 rubygems