Class: Middleman::Cli::Deploy

Inherits:
Thor
  • Object
show all
Includes:
Thor::Actions
Defined in:
lib/middleman-bitballoon/commands.rb

Overview

This class provides a “deploy” command for the middleman CLI.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.exit_on_failure?Boolean

Tell Thor to exit with a nonzero exit code on failure

Returns:

  • (Boolean)


17
18
19
# File 'lib/middleman-bitballoon/commands.rb', line 17

def self.exit_on_failure?
  true
end

Instance Method Details

#deployObject



26
27
28
29
# File 'lib/middleman-bitballoon/commands.rb', line 26

def deploy
  build_before(options)
  process
end