Class: Jets::Code::Copy::Full

Inherits:
Base
  • Object
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

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

Methods included from Util::Logging

#log

Methods included from Util::Git

#git?, #git_installed?

Instance Method Details

#runObject

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