[script] screenshots missing

This commit is contained in:
Daniel Khamsing 2016-10-04 11:34:19 -07:00
parent 529d6a04f3
commit 221bf6f0f0
1 changed files with 21 additions and 0 deletions

21
.github/osia_screenshots_missing.rb vendored Normal file
View File

@ -0,0 +1,21 @@
require_relative 'osia_helper'
j = get_json
apps = j['projects']
i = 0
apps.select {|a| a['screenshots'].nil? }.each do |a|
# if a['screenshots'].nil?
puts "#{i + 1}. Screenshots missing for #{a['title']}"
i = i + 1
# end
end
# apps.select {|a| a['screenshots']!=nil }.each do |a|
# s = a['screenshots']
# if s.count==0
# puts s
# puts "#{i + 1}. Screenshots missing for #{a['title']}"
# i = i + 1
# end
# end