Class: Dapp::Dimg::Builder::Shell
- Defined in:
- lib/dapp/dimg/builder/shell.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#_checksum, #before_build_check, #before_dimg_should_be_built_check, #before_install, #before_install?, #before_install_checksum, #before_setup, #before_setup?, #before_setup_checksum, #build_artifact, #build_artifact?, #build_artifact_checksum, #initialize, #install, #install?, #install_checksum, #setup, #setup?, #setup_checksum
Constructor Details
This class inherits a constructor from Dapp::Dimg::Builder::Base
Instance Method Details
#stage_commands(stage) ⇒ Object
24 25 26 |
# File 'lib/dapp/dimg/builder/shell.rb', line 24 def stage_commands(stage) dimg.config._shell.public_send("_#{stage}_command") end |
#stage_empty?(stage) ⇒ Boolean
20 21 22 |
# File 'lib/dapp/dimg/builder/shell.rb', line 20 def stage_empty?(stage) stage_commands(stage).empty? && public_send("#{stage}_version_checksum").nil? end |