rake
rake copied to clipboard
Accept Pathname object as rule's prerequisite
Hello,
This change allows the rule
to accept a Pathname
object as a prerequisite.
foo = Pathname("foo")
# before
rule ".o" => [".c", foo.to_s] do |t|
# ...
end
# after
rule ".o" => ["c", foo] do |t|
# ...
end
Thank you,