Method: CongressForms::Repo#clone

Defined in:
lib/congress_forms/repo.rb

#cloneObject



27
28
29
30
31
32
33
34
35
36
# File 'lib/congress_forms/repo.rb', line 27

def clone
  system(
    "git",
    "clone",
    "--quiet",
    "--depth", "1",
    remote,
    location.to_s
  ) or raise Error, "Error cloning repo at #{remote}"
end