Method: Garlic::Repo#install
- Defined in:
- lib/garlic/repo.rb
#install ⇒ Object
37 38 39 40 41 42 43 44 |
# File 'lib/garlic/repo.rb', line 37 def install if File.exists?(path) puts "\nSkipping #{name}, as it exists" else puts "\nInstalling #{name}" sh "git clone #{url}#{" --reference #{local}" if local} #{path}" end end |