Class: Nanoc::Deploying::CommandRunners::Deploy Private
- Inherits:
-
CLI::CommandRunner
- Object
- CLI::CommandRunner
- Nanoc::Deploying::CommandRunners::Deploy
- Defined in:
- lib/nanoc/deploying/command_runners/deploy.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
- #run ⇒ Object private
Instance Method Details
#run ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
7 8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/nanoc/deploying/command_runners/deploy.rb', line 7 def run @site = load_site Nanoc::Core::Compiler.new_for(@site).run_until_preprocessed if [:'list-deployers'] list_deployers elsif [:list] list_deploy_configs else deploy end end |