This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
# frozen_string_literal: true
|
||||
# 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
|
||||
|
||||
Rake::Task[:phony].tap do |task|
|
||||
def task.timestamp # :nodoc:
|
||||
Time.at 0
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user