1
0
mirror of https://github.com/etesync/android synced 2024-11-23 08:28:09 +00:00
etesync-android/scripts/gen-contacts.rb
Ricki Hirner 54e6426dc4 Version bump to 1.1.1.1
* add yield points to allow processing of groups with many contacts
* new script to generate contacts for testing
2016-06-23 11:42:12 +02:00

14 lines
279 B
Ruby
Executable File

#!/usr/bin/ruby
File.open("contacts.vcf", "w") do |f|
for i in 1..600 do
f.puts "BEGIN:VCARD"
f.puts "VERSION:3.0"
f.puts "FN:Kontakt Nr. #{i}"
f.puts "N:Kontakt Nr. #{i}"
f.puts "EMAIL:#{i}@google-god.com"
f.puts "PHONE:#{i}#{i}#{i}"
f.puts "END:VCARD"
end
end