Sha256: e056f8c2388d2fbd891243b3b53781fda67241e37fb028ecac07ea620c615fb0
Contents?: true
Size: 611 Bytes
Versions: 2
Compression:
Stored size: 611 Bytes
Contents
module Packer module Binary module Helpers module_function # # Runs given commands using mixlib-shellout # def system_command(*command_args) cmd = Mixlib::ShellOut.new(*command_args) cmd.run_command cmd end def err(message) stderr.print("#{message}\n") end def msg(message) stdout.print("#{message}\n") end def debug(message) stdout.print("#{message}\n") if ENV['DEBUG'] end def stdout $stdout end def stderr $stderr end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
packer-binary-0.1.1 | lib/packer/binary/helpers.rb |
packer-binary-0.1.0 | lib/packer/binary/helpers.rb |