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