Sha256: 531158e2082fa2d0f5247610fd5e4d6845146c92f1a486bf0f4fbb1ca6e9bba3
Contents?: true
Size: 1.1 KB
Versions: 40
Compression:
Stored size: 1.1 KB
Contents
namespace :blog_logic do desc "Install BlogLogic into your application." task :install do dir = Gem.searcher.find('blog_logic').full_gem_path system "rsync -ruv #{dir}/config/initializers/blog_logic.rb config/initializers/" system "rsync -ruv #{dir}/public/images/menu_icons public/images" system "rsync -ruv #{dir}/public/stylesheets/blog_logic.css public/stylesheets" puts puts "=========================================================================================" puts "BlogLogic installation complete." puts "=========================================================================================" puts puts "Run rake blog_logic:views if you want to customize views for your application." puts puts "=========================================================================================" puts end desc "Copy views from BlogLogic into the host application" task :views do dir = Gem.searcher.find('blog_logic').full_gem_path system "rsync -ruv #{dir}/app/views/blogs app/views/" system "rsync -ruv #{dir}/app/views/posts app/views/" end end
Version data entries
40 entries across 40 versions & 1 rubygems