Sha256: da23310b590504ddb76bf377f87ff00c5dfe50b550a1ca84c0ecf8c8a018ee17
Contents?: true
Size: 660 Bytes
Versions: 3
Compression:
Stored size: 660 Bytes
Contents
#!/bin/bash set -x runRspec(){ local case=${1:-""} local bn=${case} if [ -n "${case}" ]; then bn="$(basename "${case}")/" fi if [ -n "${RUBY_VERSION}" ]; then bn="$RUBY_VERSION-$bn" fi if [ -n "${FRAMEWORKS}" ]; then bn="$FRAMEWORKS-$bn" fi bundle exec rspec \ -f progress \ -r yarjuf -f JUnit -o "spec/junit-reports/${bn}ruby-agent-junit.xml" ${case} } bundle check || (rm -f Gemfile.lock && bundle) # If first arg is a spec path, run spec(s) if [[ $1 == spec/* ]]; then runRspec $@ exit $? fi # If no arguments, run all specs if [[ $# == 0 ]]; then runRspec exit $? fi # Otherwise, run args as command $@
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ecs-logging-1.0.0 | docker/entrypoint.sh |
ecs-logging-0.2.1 | docker/entrypoint.sh |
ecs-logging-0.2.0 | docker/entrypoint.sh |