Class: Avm::Files::Deploy
- Inherits:
-
Object
- Object
- 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.
13 14 15 |
# File 'lib/avm/files/deploy.rb', line 13 def build_dir @build_dir end |
#target_env ⇒ Object (readonly)
Returns the value of attribute target_env.
13 14 15 |
# File 'lib/avm/files/deploy.rb', line 13 def target_env @target_env end |
#target_path ⇒ Object (readonly)
Returns the value of attribute target_path.
13 14 15 |
# File 'lib/avm/files/deploy.rb', line 13 def target_path @target_path end |
Instance Method Details
#run ⇒ Object
17 18 19 20 21 22 23 24 25 |
# File 'lib/avm/files/deploy.rb', line 17 def run on_build_dir do copy_content_to_build_dir mkdir_target clear_content send_untar_package end end |