Skip to content

Commit 46a8f7c

Browse files
committedSep 27, 2019
Update comments to reflect the current state
1 parent 00aacdc commit 46a8f7c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed
 

‎lib/rake/task_manager.rb

+5-2
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ def synthesize_file_task(task_name) # :nodoc:
8383
define_task(Rake::FileTask, task_name)
8484
end
8585

86-
# Resolve the arguments for a task/rule. Returns a triplet of
87-
# [task_name, arg_name_list, prerequisites].
86+
# Resolve the arguments for a task/rule. Returns a tuple of
87+
# [task_name, arg_name_list, prerequisites, order_only_prerequisites].
8888
def resolve_args(args)
8989
if args.last.is_a?(Hash)
9090
deps = args.pop
@@ -118,8 +118,11 @@ def resolve_args_without_dependencies(args)
118118
#
119119
# The patterns recognized by this argument resolving function are:
120120
#
121+
# task :t, order_only: [:e]
121122
# task :t => [:d]
123+
# task :t => [:d], order_only: [:e]
122124
# task :t, [a] => [:d]
125+
# task :t, [a] => [:d], order_only: [:e]
123126
#
124127
def resolve_args_with_dependencies(args, hash) # :nodoc:
125128
fail "Task Argument Error" if

0 commit comments

Comments
 (0)