15
16
17
18
19
20
21
22
23
24
25
26
27
|
# File 'lib/synx/project.rb', line 15
def sync(options={})
set_options(options)
presync_check
Synx::Tabber.increase
Synx::Tabber.puts "Syncing files that are included in Xcode project...".bold.white
main_group.all_groups.each { |gr| gr.sync(main_group) }
puts "\n\n" unless options[:quiet]
Synx::Tabber.puts "Syncing files that are not included in Xcode project..".bold.white
main_group.all_groups.each(&:move_entries_not_in_xcodeproj)
transplant_work_project
Synx::Tabber.decrease
save
end
|