Sha256: 51016063988fbfae924ad416364665a5a5437c9d093ea9c946ff59e21e607033
Contents?: true
Size: 531 Bytes
Versions: 16
Compression:
Stored size: 531 Bytes
Contents
module Fontist module Import module Helpers module SystemHelper class << self def run(command) unless ENV.fetch("TEST_ENV", "") === "CI" Fontist.ui.say("Run `#{command}`") end result = `#{command}` unless $CHILD_STATUS.to_i.zero? raise Errors::BinaryCallError, "Failed to run #{command}, status: #{$CHILD_STATUS}" end result end end end end end end
Version data entries
16 entries across 16 versions & 1 rubygems