Skip to content

Commit

Permalink
Gentled the syntax for the phony task.
Browse files Browse the repository at this point in the history
  • Loading branch information
jimweirich committed Nov 14, 2012
1 parent 80c81e5 commit dbe695d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/rake/phony.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

task :phony

def (Rake::Task[:phony]).timestamp # :nodoc:
Time.at 0
Rake::Task[:phony].tap do |task|
def task.timestamp # :nodoc:
Time.at 0
end
end

0 comments on commit dbe695d

Please sign in to comment.