lib/make_menu/builder.rb in make_menu-2.0.0 vs lib/make_menu/builder.rb in make_menu-2.1.0
- old
+ new
@@ -1,8 +1,9 @@
# frozen_string_literal: true
module MakeMenu
module Builder
+ # Parse `makefile` and add all annotated targets to `menu`
def self.build(makefile, menu)
File.open(makefile, 'r') do |file|
option_number = 1
current_group = nil