module Hoe::RakeHelpers

def humanize_file_list( list, indent=FILE_INDENT )

## Returns a human-scannable file list by joining and truncating the list if it's too long.
def humanize_file_list( list, indent=FILE_INDENT )
	listtext = list[0..5].join( "\n#{indent}" )
	if list.length > 5
		listtext << " (and %d other/s)" % [ list.length - 5 ]
	end
	return listtext
end