Class: Middleman::Cli::Deploy
- Inherits:
-
Thor
- Object
- Thor
- Middleman::Cli::Deploy
- Includes:
- Thor::Actions
- Defined in:
- lib/middleman-deploy/commands.rb
Overview
This class provides a "deploy" command for the middleman CLI.
Class Method Summary collapse
-
.exit_on_failure? ⇒ Boolean
Tell Thor to exit with a nonzero exit code on failure.
Instance Method Summary collapse
Class Method Details
.exit_on_failure? ⇒ Boolean
Tell Thor to exit with a nonzero exit code on failure
19 20 21 |
# File 'lib/middleman-deploy/commands.rb', line 19 def self.exit_on_failure? true end |
Instance Method Details
#deploy ⇒ Object
28 29 30 31 |
# File 'lib/middleman-deploy/commands.rb', line 28 def deploy build_before() process end |