diff options
Diffstat (limited to 'lib/rake/file_task.rb')
-rw-r--r-- | lib/rake/file_task.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rake/file_task.rb b/lib/rake/file_task.rb index 3e717c24b7..03e26d967b 100644 --- a/lib/rake/file_task.rb +++ b/lib/rake/file_task.rb @@ -2,7 +2,7 @@ require 'rake/task.rb' require 'rake/early_time' module Rake - # ######################################################################### + # A FileTask is a task that includes time based dependencies. If any of a # FileTask's prerequisites have a timestamp that is later than the file # represented by this task, then the file must be rebuilt (using the @@ -13,7 +13,7 @@ module Rake # Is this file task needed? Yes if it doesn't exist, or if its time stamp # is out of date. def needed? - ! File.exist?(name) || out_of_date?(timestamp) + ! File.exist?(name) || out_of_date?(timestamp) || @application.options.build_all end # Time stamp for file task. |