Module: Jib

Defined in:
lib/jib.rb

Defined Under Namespace

Classes: Compiler, Config, Document, Env, Files, Runner, StaticFiles

Class Method Summary collapse

Class Method Details

.configObject



14
15
16
# File 'lib/jib.rb', line 14

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

.envObject



18
19
20
# File 'lib/jib.rb', line 18

def self.env
  @env ||= Env.new
end

.rootObject



6
7
8
# File 'lib/jib.rb', line 6

def self.root
  FileUtils.pwd
end

.runObject



26
27
28
29
30
# File 'lib/jib.rb', line 26

def self.run
  env.build
  runner.run
  # env.cleanup
end

.runnerObject



22
23
24
# File 'lib/jib.rb', line 22

def self.runner
  @runner ||= Runner.new
end

.workspace_pathObject



10
11
12
# File 'lib/jib.rb', line 10

def self.workspace_path
  File.join(root, ".jib-workspace")
end