Sha256: a62c50d6db91f53e60a87fa37b843d0c24b4931763365234aeb5ff005dfab307

Contents?: true

Size: 326 Bytes

Versions: 5

Compression:

Stored size: 326 Bytes

Contents

require 'rainbow'
require 'fileutils'
require 'yaml'

def sys cmd
  STDOUT.print (cmd + "\n").color(:green)
  err '' unless system cmd
end

def err msg
  STDOUT.print (msg + "\n").color(:red)
  exit!
end

if defined?(Rails) && !Rails.root.nil?
  ROOT = File.realpath(Rails.root).to_s
else
  ROOT = File.realpath('.').to_s
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
zfben_rails_rake-0.0.18 lib/zfben_rails_rake/helper.rb
zfben_rails_rake-0.0.17 lib/zfben_rails_rake/helper.rb
zfben_rails_rake-0.0.16 lib/zfben_rails_rake/helper.rb
zfben_rails_rake-0.0.15 lib/zfben_rails_rake/helper.rb
zfben_rails_rake-0.0.14 lib/zfben_rails_rake/helper.rb