Class: Shippy::Compiler
- Inherits:
-
Object
- Object
- Shippy::Compiler
- Defined in:
- lib/shippy/compiler.rb
Instance Attribute Summary collapse
-
#app ⇒ Object
readonly
Returns the value of attribute app.
-
#config ⇒ Object
readonly
Returns the value of attribute config.
Instance Method Summary collapse
- #compile ⇒ Object
-
#initialize(app, config:) ⇒ Compiler
constructor
A new instance of Compiler.
Constructor Details
#initialize(app, config:) ⇒ Compiler
Returns a new instance of Compiler.
5 6 7 8 |
# File 'lib/shippy/compiler.rb', line 5 def initialize(app, config:) @app = app @config = config end |
Instance Attribute Details
#app ⇒ Object (readonly)
Returns the value of attribute app.
3 4 5 |
# File 'lib/shippy/compiler.rb', line 3 def app @app end |
#config ⇒ Object (readonly)
Returns the value of attribute config.
3 4 5 |
# File 'lib/shippy/compiler.rb', line 3 def config @config end |
Instance Method Details
#compile ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/shippy/compiler.rb', line 10 def compile prep_build_dir write_compose_file write_configuration_files true end |