Module: Afterlife

Defined in:
lib/afterlife.rb,
lib/afterlife/cdn.rb,
lib/afterlife/cli.rb,
lib/afterlife/bump.rb,
lib/afterlife/exec.rb,
lib/afterlife/repo.rb,
lib/afterlife/stage.rb,
lib/afterlife/config.rb,
lib/afterlife/deploy.rb,
lib/afterlife/notify.rb,
lib/afterlife/cdn/cli.rb,
lib/afterlife/release.rb,
lib/afterlife/version.rb,
lib/afterlife/base_cli.rb,
lib/afterlife/cdn/server.rb,
lib/afterlife/config/cli.rb,
lib/afterlife/deploy/cli.rb,
lib/afterlife/bump/semver.rb,
lib/afterlife/environment.rb,
lib/afterlife/release/cli.rb,
lib/afterlife/repo/config.rb,
lib/afterlife/repo/provider.rb,
lib/afterlife/release/helper.rb,
lib/afterlife/config/provider.rb,
lib/afterlife/deploy/deployment.rb,
lib/afterlife/release/pre_helper.rb,
lib/afterlife/deploy/cdn_deployment.rb,
lib/afterlife/release/create_helper.rb,
lib/afterlife/release/change_version.rb,
lib/afterlife/deploy/custom_deployment.rb,
lib/afterlife/deploy/kubernetes_deployment.rb,
lib/afterlife/deploy/cdn_stenciljs_deployment.rb

Defined Under Namespace

Modules: BaseCli, Bump, Cdn, Config, Deploy, Notify, Release Classes: Cli, Environment, Error, Exec, Repo, Stage

Constant Summary collapse

LOCAL_PATH =
'~/.afterlife'
VERSION =
'1.7.2'

Class Method Summary collapse

Class Method Details

.cliObject



45
46
47
# File 'lib/afterlife.rb', line 45

def self.cli
  @cli
end

.cli=(other) ⇒ Object



41
42
43
# File 'lib/afterlife.rb', line 41

def self.cli=(other)
  @cli = other
end

.configObject



25
26
27
# File 'lib/afterlife.rb', line 25

def self.config
  @config ||= Config::Provider.new
end

.current_repoObject



29
30
31
# File 'lib/afterlife.rb', line 29

def self.current_repo
  @current_repo ||= Repo.new(Dir.pwd)
end

.current_stageObject



37
38
39
# File 'lib/afterlife.rb', line 37

def self.current_stage
  @current_stage
end

.current_stage=(other) ⇒ Object



33
34
35
# File 'lib/afterlife.rb', line 33

def self.current_stage=(other)
  @current_stage = Stage.find(other)
end

.local_pathObject



21
22
23
# File 'lib/afterlife.rb', line 21

def self.local_path
  @local_path ||= Pathname(File.expand_path(LOCAL_PATH))
end

.rootObject



13
14
15
# File 'lib/afterlife.rb', line 13

def self.root
  @root
end

.root=(other) ⇒ Object



17
18
19
# File 'lib/afterlife.rb', line 17

def self.root=(other)
  @root = other
end