#!/bin/bash DIR_GENERIC_GEM=$PWD DIR_PARENT="${PWD%/*}" mkdir -p log rm -rf tmp echo '--------------' echo 'bundle install' bin/setup >/dev/null echo echo '-------' echo 'rubocop' rubocop echo echo '-----------' echo 'sandi_meter' sandi_meter echo echo '------------' echo 'bundle-audit' bundle-audit echo '----------------------------------------------' echo 'gemsurance --output log/gemsurance_report.html' gemsurance --output log/gemsurance_report.html echo 'Gemsurance Report: log/gemsurance_report.html' echo '------------------------------------------------------------------------' echo 'bundle viz --file=log/diagram-gems --format=svg --requirements --version' bundle viz --file=log/diagram-gems --format=svg --requirements --version echo 'Gem dependency diagram: log/diagram-gems.svg'