Sha256: 8c75cea88e9a161c8f992b3fa76266a4abf2e4e40ec6ce313e8294384cdf6836

Contents?: true

Size: 274 Bytes

Versions: 66

Compression:

Stored size: 274 Bytes

Contents

#!/usr/bin/env bash

if [ "$1" == "--check" ]; then
  bundle exec rufo . --check
  RESULT=$?
  if [ $RESULT != 0 ]; then
    echo "Code is not properly formatted. Please execute ./scripts/format to autoformat the code."
    exit $RESULT
  fi
else
  bundle exec rufo . -x
fi

Version data entries

66 entries across 66 versions & 1 rubygems

Version Path
recurly-3.22.0 scripts/format
recurly-4.21.1 scripts/format
recurly-4.21.0 scripts/format
recurly-4.20.0 scripts/format
recurly-3.21.0 scripts/format
recurly-4.19.0 scripts/format
recurly-3.20.0 scripts/format
recurly-4.18.0 scripts/format
recurly-4.17.0 scripts/format
recurly-3.19.0 scripts/format
recurly-4.15.0 scripts/format
recurly-4.14.0 scripts/format
recurly-4.13.0 scripts/format
recurly-4.12.0 scripts/format
recurly-4.11.0 scripts/format
recurly-4.10.0 scripts/format
recurly-4.9.0 scripts/format
recurly-4.8.0 scripts/format
recurly-4.7.0 scripts/format
recurly-4.6.0 scripts/format