Class: Bricky::Bricks::Bundle
- Inherits:
-
Base
- Object
- Base
- Bricky::Bricks::Bundle
show all
- Defined in:
- lib/bricky/bricks/bundle.rb
Instance Attribute Summary
Attributes inherited from Base
#config
Instance Method Summary
collapse
Methods inherited from Base
#bootstrap, #initialize
Instance Method Details
#arguments ⇒ Object
7
8
9
10
11
12
|
# File 'lib/bricky/bricks/bundle.rb', line 7
def arguments
scripts_path = "#{bricks_path}/bundle"
results = ["-v #{scripts_path}:/bricks/bundle"]
results.push(cached) if config['cache']
results
end
|
#entrypoint ⇒ Object
14
15
16
|
# File 'lib/bricky/bricks/bundle.rb', line 14
def entrypoint
'/bricks/bundle/builder'
end
|
#environments ⇒ Object
18
19
20
21
|
# File 'lib/bricky/bricks/bundle.rb', line 18
def environments
["-e BRICKS_BUNDLE_WITHOUT=#{config.fetch('without', 'development:test')}",
"-e BRICKS_BUNDLE_INSTALL=#{config.fetch('install', true)}"]
end
|