gitlabhq/db/fixtures/test/001_repo.rb
2011-10-09 00:36:38 +03:00

9 lines
198 B
Ruby

# Clone repo
`cp spec/seed_project.tar.gz /tmp/`
Dir.chdir("/tmp")
`tar -xf seed_project.tar.gz`
3.times do |i|
`cp -r /tmp/legit/ /tmp/legit_#{i}/`
puts "Unpacked seed repo - /tmp/legit_#{i}"
end