Class: Chap::Strategy::Hardlink
- Defined in:
- lib/chap/strategy/hardlink.rb
Constant Summary
Constants included from Chap::SpecialMethods
Chap::SpecialMethods::SPECIAL_METHODS
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Checkout
#checkout, #deploy, #sync, #update
Methods included from Benchmarking
#benchmarks, included, #report_benchmarks, #shorten_name
Methods inherited from Base
Methods included from Chap::SpecialMethods
Constructor Details
This class inherits a constructor from Chap::Strategy::Base
Instance Method Details
#copy ⇒ Object
4 5 6 7 8 9 |
# File 'lib/chap/strategy/hardlink.rb', line 4 def copy copy = File.("../util/copy.rb", __FILE__) command = "#{copy} #{cached_path} #{release_path} && #{mark}" run command log "Code copied to #{release_path}".colorize(:green) end |