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-4.56.0 scripts/format
recurly-4.55.0 scripts/format
recurly-4.54.0 scripts/format
recurly-4.53.0 scripts/format
recurly-4.52.0 scripts/format
recurly-4.49.0 scripts/format
recurly-4.48.1 scripts/format
recurly-4.48.0 scripts/format
recurly-4.47.0 scripts/format
recurly-4.46.0 scripts/format
recurly-4.45.0 scripts/format
recurly-4.44.0 scripts/format
recurly-4.43.0 scripts/format
recurly-4.42.0 scripts/format
recurly-4.41.0 scripts/format
recurly-4.40.0 scripts/format
recurly-4.39.0 scripts/format
recurly-4.38.0 scripts/format
recurly-4.37.0 scripts/format
recurly-3.28.0 scripts/format