run_simple 'git clone --quiet main clone'
cd 'clone'
create_dir 'Membres'
- BASE_SUBSCRIPTIONS.each_pair do |number, data|
- file = subscription_filename_for_id(number)
- write_file file, render_subscription_file(data)
+ BASE_MEMBERS.each_pair do |number, data|
+ file = member_filename_for_id(number)
+ write_file file, render_member_file(data)
run_simple "git add #{file}"
end
run_simple 'git commit --quiet -m "Initial data set from fixtures"'