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