Sha256: b489c04d93acd8ad21a27ee06932ac5ce30b954f4c8e56a540249a62765543f7

Contents?: true

Size: 140 Bytes

Versions: 7

Compression:

Stored size: 140 Bytes

Contents

def run_cmd(cmd)
  # http://stackoverflow.com/a/2225391/358804
  unless system(cmd)
    raise "Non-zero exit status for `#{cmd}`"
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
jekyll_pages_api-0.1.6 spec/support/shell.rb
jekyll_pages_api-0.1.5 spec/support/shell.rb
jekyll_pages_api-0.1.4 spec/support/shell.rb
jekyll_pages_api-0.1.3 spec/support/shell.rb
jekyll_pages_api-0.1.2 spec/support/shell.rb
jekyll_pages_api-0.1.1 spec/support/shell.rb
jekyll_pages_api-0.1.0 spec/support/shell.rb