Sha256: 08863f65da5f437e4204a6a025a668fbed3c58dd95f613e42698b23180f06c68
Contents?: true
Size: 828 Bytes
Versions: 1
Compression:
Stored size: 828 Bytes
Contents
#-- # Copyright (c) 2010-2012 Engine Yard, Inc. # Copyright (c) 2007-2009 Sun Microsystems, Inc. # This source code is available under the MIT license. # See the file LICENSE.txt for details. #++ module Warbler # This module exists for compatibility with Rake 0.9. module RakeHelper def self.included(base) base.class_eval do include Rake::DSL if defined?(Rake::DSL) if defined?(Rake::FileUtilsExt) include FileUtils include Rake::FileUtilsExt end end end def self.extended(base) base.extend Rake::DSL if defined?(Rake::DSL) if defined?(Rake::FileUtilsExt) base.extend FileUtils base.extend Rake::FileUtilsExt end end private def silent? Rake.application.options.silent rescue nil end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
warbler-1.4.10 | lib/warbler/rake_helper.rb |