22
23
24
25
26
27
28
29
30
31
32
33
34
|
# File 'lib/frontman/builder/statistics_collector.rb', line 22
def self.output(builder, mapping, timer, new_files = [])
puts JSON.pretty_generate(mapping.all)
puts '================================================================='
puts "Previous build size : #{builder.current_build_files.size} files"
puts "Current build size : #{new_files.size} files"
%i[updated created deleted unchanged].each do |status|
puts "#{status} : #{Array(mapping.all[status]).length} files"
end
timer.stop
puts timer.output
end
|