Class: Avm::Files::Deploy
- Includes:
- Appendable
- Defined in:
- lib/avm/files/deploy.rb
Instance Attribute Summary collapse
-
#build_dir ⇒ Object
readonly
Returns the value of attribute build_dir.
-
#target_env ⇒ Object
readonly
Returns the value of attribute target_env.
-
#target_path ⇒ Object
readonly
Returns the value of attribute target_path.
Attributes included from Appendable
Instance Method Summary collapse
Methods included from Appendable
#append_file_content, #append_plain_directory, #append_tar_output_command, #append_templatized_directories, #append_templatized_directory, #appended, #variables_source_set, #write_appended_on
Instance Attribute Details
#build_dir ⇒ Object (readonly)
Returns the value of attribute build_dir.
14 15 16 |
# File 'lib/avm/files/deploy.rb', line 14 def build_dir @build_dir end |
#target_env ⇒ Object (readonly)
Returns the value of attribute target_env.
14 15 16 |
# File 'lib/avm/files/deploy.rb', line 14 def target_env @target_env end |
#target_path ⇒ Object (readonly)
Returns the value of attribute target_path.
14 15 16 |
# File 'lib/avm/files/deploy.rb', line 14 def target_path @target_path end |
Instance Method Details
#run ⇒ Object
18 19 20 21 22 23 24 25 26 |
# File 'lib/avm/files/deploy.rb', line 18 def run on_build_dir do copy_content_to_build_dir mkdir_target clear_content send_untar_package end end |