class Nucleon::Action::Project::Update

Public Class Methods

describe() click to toggle source
# File lib/nucleon/action/project/update.rb, line 12
def self.describe
  super(:project, :update, 900)
end

Public Instance Methods

configure() click to toggle source
# File lib/nucleon/action/project/update.rb, line 19
def configure
  super do
    codes :project_failure
    
    register :path, :str, Dir.pwd       
    project_config
  end
end
execute() click to toggle source
# File lib/nucleon/action/project/update.rb, line 31
def execute
  super do
    info('nucleon.action.project.update.start')
    
    project       = project_load(settings[:path], false, true)
    myself.status = code.project_failure unless project
  end
end