Sha256: b9e16f010094cd1e3312fbeddc6bfe5bf03fa01cde7d51220ce718858e237629

Contents?: true

Size: 628 Bytes

Versions: 2

Compression:

Stored size: 628 Bytes

Contents

require 'English'
require 'optparse'
require 'yaml'
require 'phare/version'

require 'phare/cli'
require 'phare/git'

require 'phare/check'
require 'phare/check/rubocop'
require 'phare/check/stylelint'
require 'phare/check/eslint'

require 'phare/check_suite'

module Phare
  def self.system(*args)
    Kernel.system(*args)
  end

  def self.system_output(args)
    `#{args}`
  end

  def self.last_exit_status
    $CHILD_STATUS.exitstatus
  end

  def self.puts(*args)
    STDOUT.puts(*args)
  end

  def self.banner(string)
    Phare.puts '-' * string.length
    Phare.puts string
    Phare.puts '-' * string.length
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
phare-1.0.1 lib/phare.rb
phare-1.0.0 lib/phare.rb