Method: Jets::Commands::Main#deploy

Defined in:
lib/jets/commands/main.rb

#deploy(environment = nil) ⇒ Object

Note the environment is here to trick the Thor parser to allowing an environment parameter. It is not actually set here. It is set earlier in cli.rb: set_jets_env_for_deploy_command!



20
21
22
23
24
# File 'lib/jets/commands/main.rb', line 20

def deploy(environment=nil)
  Jets::Timing.clear # must happen outside Deploy#run
  Deploy.new(options).run
  Jets::Timing.report
end