Sha256: 77e88194554d0a696575265a71676799ff1ec0fbb602ef5655011aa250659833
Contents?: true
Size: 490 Bytes
Versions: 11
Compression:
Stored size: 490 Bytes
Contents
require 'auto_html/task' # Capistrano task for AutoHtml. # Just add: # require 'auto_html/capistrano' # in your Capistrano deploy.rb, you will have AutoHtml rake task in Capistrano Capistrano::Configuration.instance(:must_exist).load do namespace :auto_html do desc "Rebuild auto_html columns" task :rebuild do klass = AutoHtml::Task.obtain_class run "cd #{current_path} && bundle exec rake auto_html:rebuild CLASS=#{klass} RAILS_ENV=#{rails_env}" end end end
Version data entries
11 entries across 11 versions & 2 rubygems