Sha256: 9a0ad122b9c5383e27f5aa6186f4e36147cc8cfb964163080a15e85ffd477f2a

Contents?: true

Size: 279 Bytes

Versions: 18

Compression:

Stored size: 279 Bytes

Contents

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

def zfben_rails_rake_system cmd
  cmd = cmd
  STDOUT.print (cmd + "\n").color(:green)
  zfben_rails_rake_err unless system cmd
end

def zfben_rails_rake_err msg = 'Failed!'
  STDERR.print (msg + "\n").color(:red)
  exit!
end

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
h2ocube_rails_tasks-0.0.13 lib/h2ocube_rails_tasks/helper.rb
h2ocube_rails_tasks-0.0.12 lib/h2ocube_rails_tasks/helper.rb
h2ocube_rails_tasks-0.0.11 lib/h2ocube_rails_tasks/helper.rb
h2ocube_rails_tasks-0.0.10 lib/h2ocube_rails_tasks/helper.rb
h2ocube_rails_tasks-0.0.9 lib/h2ocube_rails_tasks/helper.rb
h2ocube_rails_tasks-0.0.8 lib/h2ocube_rails_tasks/helper.rb
h2ocube_rails_tasks-0.0.7 lib/h2ocube_rails_tasks/helper.rb
h2ocube_rails_tasks-0.0.6 lib/h2ocube_rails_tasks/helper.rb
h2ocube_rails_tasks-0.0.5 lib/h2ocube_rails_tasks/helper.rb
h2ocube_rails_tasks-0.0.4 lib/h2ocube_rails_tasks/helper.rb
h2ocube_rails_tasks-0.0.3 lib/h2ocube_rails_tasks/helper.rb
h2ocube_rails_tasks-0.0.2 lib/h2ocube_rails_tasks/helper.rb
h2ocube_rails_tasks-0.0.1 lib/h2ocube_rails_tasks/helper.rb
zfben_rails_rake-0.0.23 lib/zfben_rails_rake/helper.rb
zfben_rails_rake-0.0.22 lib/zfben_rails_rake/helper.rb
zfben_rails_rake-0.0.21 lib/zfben_rails_rake/helper.rb
zfben_rails_rake-0.0.20 lib/zfben_rails_rake/helper.rb
zfben_rails_rake-0.0.19 lib/zfben_rails_rake/helper.rb