Sha256: d7451474cf16b6c7e319fdb53e37de9c8fdc32d3377fe326196c58cd2c6e8a4a

Contents?: true

Size: 350 Bytes

Versions: 4

Compression:

Stored size: 350 Bytes

Contents

#!/bin/bash

DIFF_LIST=$(git diff --name-only $CIRCLE_SHA1 $(git merge-base $CIRCLE_SHA1 origin/master) | grep "^lib/")

if [ ! -z "$DIFF_LIST" ]; then
  mkdir -p tmp/rubycritic/compare
  bundle exec rubycritic --format console --branch origin/master -t 0  --maximum-decrease 1 $DIFF_LIST
else
  echo "No changes detected. Skipping rubycritic..."
fi

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sinclair-1.4.1 scripts/rubycritic.sh
sinclair-1.4.0 scripts/rubycritic.sh
sinclair-1.3.4 scripts/rubycritic.sh
sinclair-1.3.3 scripts/rubycritic.sh