Sha256: ea89752a366677702dc819efe7bff434234142fa7d04006ffec10c50149c06cc

Contents?: true

Size: 398 Bytes

Versions: 5

Compression:

Stored size: 398 Bytes

Contents

#!/bin/bash
#
# Script for running Brakeman tests
# Brakeman is a security scanner https://github.com/presidentbeef/brakeman.
gem install --no-rdoc --no-ri brakeman

brakeman --exit-on-warn --separate-models -o tmp/brakeman.html -o tmp/brakeman.text .
brakeman_exit_code=$?
cat tmp/brakeman.text

if [ $CIRCLE_ARTIFACTS ]; then
  mv tmp/brakeman.html $CIRCLE_ARTIFACTS
fi

exit $brakeman_exit_code

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
gnarails-1.0.0 templates/script/brakeman
gnarails-0.9.3 templates/script/brakeman
gnarails-0.9.2 templates/script/brakeman
gnarails-0.9.1 templates/script/brakeman
gnarails-0.9.0 templates/script/brakeman