Sha256: e58c2f27fe58f588ecd396f3d22c0d1b3b8933d9ef3298443d50ef30e2d81aab

Contents?: true

Size: 427 Bytes

Versions: 12

Compression:

Stored size: 427 Bytes

Contents

# -*- coding: utf-8 -*-


require 'rake/task'
require 'rake/dsl_definition'


module Xot


  module Rake


    class AliasTask < ::Rake::Task

      def timestamp()
        prerequisite_tasks.map {|pre| pre.timestamp}.max || ::Rake::EARLY
      end

    end# AliasTask


  end# Rake


end# Xot


module Rake
  module DSL
    def alias_task(*args, &block)
      Xot::Rake::AliasTask.define_task(*args, &block)
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
xot-0.1.34 lib/xot/rake/alias_task.rb
xot-0.1.33 lib/xot/rake/alias_task.rb
xot-0.1.32 lib/xot/rake/alias_task.rb
xot-0.1.31 lib/xot/rake/alias_task.rb
xot-0.1.30 lib/xot/rake/alias_task.rb
xot-0.1.29 lib/xot/rake/alias_task.rb
xot-0.1.28 lib/xot/rake/alias_task.rb
xot-0.1.27 lib/xot/rake/alias_task.rb
xot-0.1.26 lib/xot/rake/alias_task.rb
xot-0.1.25 lib/xot/rake/alias_task.rb
xot-0.1.24 lib/xot/rake/alias_task.rb
xot-0.1.23 lib/xot/rake/alias_task.rb