Sha256: af00dbfad3bce672d857aa707588de5b964d7e2385f8483fa467820656e3a869

Contents?: true

Size: 577 Bytes

Versions: 1

Compression:

Stored size: 577 Bytes

Contents

require 'rubygems'
require 'socialcast-git-extensions/version'
require 'socialcast-git-extensions/string_ext'
require 'socialcast-git-extensions/git'
require 'socialcast-git-extensions/github'

module Socialcast
  module Gitx
    DEFAULT_BASE_BRANCH = 'master'
    DEFAULT_STAGING_BRANCH = 'staging'
    DEFAULT_PROTOTYPE_BRANCH = 'prototype'

    private

    # execute a shell command and raise an error if non-zero exit code is returned
    def run_cmd(cmd)
      say "\n$ "
      say cmd.gsub("'", ''), :red
      raise "#{cmd} failed" unless system cmd
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
socialcast-git-extensions-3.1.15 lib/socialcast-git-extensions.rb