Sha256: 1746d4dd083caf3ff9710f3691bb78edbfead542d57f6cfa022234e6f6a5cf9e
Contents?: true
Size: 842 Bytes
Versions: 15
Compression:
Stored size: 842 Bytes
Contents
module Nucleon module Action module Project class Update < Nucleon.plugin_class(:nucleon, :action) include Mixin::Action::Project #----------------------------------------------------------------------------- # Info def self.describe super(:project, :update, 900) end #----------------------------------------------------------------------------- # Settings def configure super do codes :project_failure register_str :path, Dir.pwd project_config end end #----------------------------------------------------------------------------- # Operations def execute super do info('start') project = project_load(settings[:path], false, true) myself.status = code.project_failure unless project end end end end end end
Version data entries
15 entries across 15 versions & 1 rubygems