Sha256: 77e2df8a0ee54a3b2324319062dc88fdfcab14ab360d805aeb3a08f1f7c87bcf
Contents?: true
Size: 459 Bytes
Versions: 3
Compression:
Stored size: 459 Bytes
Contents
# Utilities for Rakefiles. #-- # Copyright 2006 Suraj N. Kurapati # See the file named LICENSE for details. require 'fileutils' module FileUtils alias old_sh sh # An improved sh() that accepts arrays as arguments, omits empty string # arguments, and shows users exactly what ARGV is being executed. def sh *aArgs, &aBlock args = aArgs.flatten.compact.reject {|i| i.to_s.empty?} STDERR.puts args.inspect old_sh(*args, &aBlock) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ruby-vpi-20.0.0 | lib/ruby-vpi/rake.rb |
ruby-vpi-21.1.0 | lib/ruby-vpi/rake.rb |
ruby-vpi-21.0.0 | lib/ruby-vpi/rake.rb |