Sha256: ecc6f475085fe1fa6314234385d8a0940bfc2338d754bccb53e84714e2de8cb3

Contents?: true

Size: 293 Bytes

Versions: 2

Compression:

Stored size: 293 Bytes

Contents

#!/bin/bash
cd ..
rspec
if [[ "$?" -ne "0"  ]]; then
  echo -e "\033[0;31mTests failed, not building the gem\033[0;0m"
  exit $?
fi

rubocop --fail-level W
if [[ "$?" -ne "0"  ]]; then
  echo -e "\033[0;31mRubocop failed, not building the gem\033[0;0m"
  exit $?
fi

rake build

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rise-cli-0.2.9 scripts/test_and_build.sh
rise-cli-0.2.8 scripts/test_and_build.sh