1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00

Order docfiles by filename size.

This commit is contained in:
Nathan Weizenbaum 2009-06-18 14:32:58 -07:00
parent 73dd210858
commit dc8433432c

View file

@ -137,7 +137,7 @@ begin
list.exclude('lib/haml/helpers/action_view_mods.rb')
end.to_a
t.options += FileList.new('yard/*.rb').to_a.map {|f| ['-e', f]}.flatten
files = FileList.new('doc-src/*').to_a + %w[MIT-LICENSE VERSION]
files = FileList.new('doc-src/*').to_a.sort_by {|s| s.size} + %w[MIT-LICENSE VERSION]
t.options << '--files' << files.join(',')
end
Rake::Task['yardoc'].instance_variable_set('@comment', nil)