8 lines
198 B
Ruby
8 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
|