blob: 11bcbabdd63877e51c9820f84c0c848b938cd13c [file] [log] [blame]
$LOAD_PATH.unshift File.realpath(File.expand_path('../../lib', __FILE__))
require 'whimsy/asf'
OFFICERS = ASF::SVN['private/foundation/officers']
Dir.chdir OFFICERS
iclas = OFFICERS + '/iclas.txt'
puts 'svn update ' + iclas
system 'svn update ' + iclas
source = File.read('iclas.txt')
sorted = ASF::ICLA.sort(source)
if source == sorted
puts 'no change'
else
File.write('iclas.txt', sorted)
system 'svn diff iclas.txt'
end