Sha256: 91e68257d073757c24bcac52445d89a9ad785001a14b02a58d1663f1deafbbb6

Contents?: true

Size: 448 Bytes

Versions: 4

Compression:

Stored size: 448 Bytes

Contents

require 'thor'
require 'middleman-core'
require 'middleman-core/cli'
require 'kanpachi'

begin
  require 'middleman-deploy'
rescue LoadError
end

if defined? Middleman::Cli::Deploy
  class Middleman::Cli::Deploy
    default_task :deploy
  end

  module Kanpachi
    class CLI < Thor
      task = ::Middleman::Cli::Deploy.tasks['deploy']
      register ::Middleman::Cli::Deploy, 'deploy', task.usage, task.description, task.options
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
kanpachi-0.0.7 lib/kanpachi/doc/middleman-ext/middleman-deploy.rb
kanpachi-0.0.6 lib/kanpachi/doc/middleman-ext/middleman-deploy.rb
kanpachi-0.0.5 lib/kanpachi/doc/middleman-ext/middleman-deploy.rb
kanpachi-0.0.4 lib/kanpachi/doc/middleman-ext/middleman-deploy.rb