Class: Jets::Code::Copy::Full
- Inherits:
-
Base
- Object
- Base
- Jets::Code::Copy::Full
show all
- Defined in:
- lib/jets/code/copy/full.rb
Overview
Inherits from Base for build_root and class run method
Instance Method Summary
collapse
-
#run ⇒ Object
Completely override run since Full has complete different behavior.
Methods inherited from Base
#always_keep, #always_remove, #extract_code, #git_info, #gitconfig, #remove_temp_files, run, #save_gitinfo
Methods included from Util::Sh
#capture, #quiet_sh, #sh
#log
Methods included from Util::Git
#git?, #git_installed?
Instance Method Details
#run ⇒ Object
Completely override run since Full has complete different behavior
5
6
7
|
# File 'lib/jets/code/copy/full.rb', line 5
def run
FileUtils.cp_r(Jets.root, "#{build_root}/stage/code")
end
|