module Middleman::Deploy
Constants
- PACKAGE
- README
- TAGLINE
- VERSION
Public Class Methods
options()
click to toggle source
# File lib/middleman-deploy/extension.rb, line 10 def options @@options end
registered(app, options_hash = {}) { |options| ... }
click to toggle source
# File lib/middleman-deploy/extension.rb, line 14 def registered(app, options_hash = {}, &block) options = Options.new(options_hash) yield options if block_given? # Default options for the rsync method. options.port ||= 22 options.clean ||= false # Default options for the git method. options.remote ||= 'origin' options.branch ||= 'gh-pages' options.strategy ||= :force_push options.commit_message ||= nil options.build_before ||= false @@options = options app.send :include, Helpers end
Also aliased as: included