Sha256: 0379096d99dcdfd44e442d5cc54c2846fd4f76a9f210c0b695547ea182be13b1
Contents?: true
Size: 576 Bytes
Versions: 7
Compression:
Stored size: 576 Bytes
Contents
module Pushwagner class Main def initialize(opts = {}) @environment = Pushwagner::Environment.new(opts) end def set_environment(env) @environment.current = env.to_s end def set_version(version) @environment.version = version.to_s end def deploy(opts = {}) Maven::Deployer.new(@environment, opts).deploy if @environment.maven? Static::Deployer.new(@environment, opts).deploy if @environment.static? end def restart(opts = {}) Supervisord::Restarter.new(@environment, opts).restart end end end
Version data entries
7 entries across 7 versions & 1 rubygems