module Flow::Build::Service::Git::Clone
Public Instance Methods
git_clone()
click to toggle source
# File lib/flow/build/service/git/clone.rb, line 8 def git_clone cmd = "git clone --depth=50 --branch=#{branch} #{git_url} #{repo_dir}/#{repo_name}".shellescape script << "cd $HOME/build" script << "flow_cmd #{cmd} --echo --timing" script << "cd #{repo_dir}/#{repo_name}" script << "\n" end