Module: Jib
Defined Under Namespace
Classes: Compiler, Config, Document, Env, Files, Runner, StaticFiles
Class Method Summary
collapse
Class Method Details
.config ⇒ Object
14
15
16
|
# File 'lib/jib.rb', line 14
def self.config
@config ||= Jib::Config.new
end
|
.env ⇒ Object
18
19
20
|
# File 'lib/jib.rb', line 18
def self.env
@env ||= Env.new
end
|
.root ⇒ Object
6
7
8
|
# File 'lib/jib.rb', line 6
def self.root
FileUtils.pwd
end
|
.run ⇒ Object
26
27
28
29
30
|
# File 'lib/jib.rb', line 26
def self.run
env.build
runner.run
end
|
.runner ⇒ Object
22
23
24
|
# File 'lib/jib.rb', line 22
def self.runner
@runner ||= Runner.new
end
|
.workspace_path ⇒ Object
10
11
12
|
# File 'lib/jib.rb', line 10
def self.workspace_path
File.join(root, ".jib-workspace")
end
|