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

Version Path
auto_html-whistlerbrk-2.0.0.pre lib/auto_html/capistrano.rb
auto_html-1.6.4 lib/auto_html/capistrano.rb
auto_html-1.6.3 lib/auto_html/capistrano.rb
auto_html-1.5.1.1 lib/auto_html/capistrano.rb
auto_html-1.6.2 lib/auto_html/capistrano.rb
auto_html-1.6.1 lib/auto_html/capistrano.rb
auto_html-1.6.0 lib/auto_html/capistrano.rb
auto_html-1.5.3 lib/auto_html/capistrano.rb
auto_html-1.5.2 lib/auto_html/capistrano.rb
auto_html-1.5.1 lib/auto_html/capistrano.rb
auto_html-1.5.0 lib/auto_html/capistrano.rb