Sha256: 3de5d366045b9773004113a95fa90141e61a04bea5d182ff247611a2ac41e578

Contents?: true

Size: 314 Bytes

Versions: 7

Compression:

Stored size: 314 Bytes

Contents

# Defines a :phony task that you can use as a dependency. This allows
# file-based tasks to use non-file-based tasks as prerequisites
# without forcing them to rebuild.
#
# See FileTask#out_of_date? and Task#timestamp for more info.

require 'rake'

task :phony

def (Rake::Task[:phony]).timestamp
  Time.at 0
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rake-10.0.0 lib/rake/phony.rb
rake-0.9.3 lib/rake/phony.rb
rake-0.9.3.beta.4 lib/rake/phony.rb
rake-10.0.0.beta.2 lib/rake/phony.rb
rake-10.0.0.beta.1 lib/rake/phony.rb
rake-0.9.3.beta.3 lib/rake/phony.rb
rake-0.9.3.beta.2 lib/rake/phony.rb