Class: Buildr::BuildfileTask
- Inherits:
-
Rake::FileTask
- Object
- Rake::FileTask
- Buildr::BuildfileTask
- Defined in:
- lib/buildr/core/application.rb
Overview
This task stands for the buildfile and all its associated helper files (e.g., buildr.rb, build.yaml). By using this task as a prerequisite for other tasks, you can ensure these tasks will be needed whenever the buildfile changes.
Instance Method Summary collapse
Methods inherited from Rake::FileTask
Instance Method Details
#timestamp ⇒ Object
536 537 538 |
# File 'lib/buildr/core/application.rb', line 536 def ([name] + prerequisites).map { |f| File.stat(f).mtime }.max rescue Time.now end |