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:
parent
73dd210858
commit
dc8433432c
1 changed files with 1 additions and 1 deletions
2
Rakefile
2
Rakefile
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue