Sha256: 82267530b46067bedb711fc80cb65884300f7f4241d6c172089382ab4cb33333

Contents?: true

Size: 278 Bytes

Versions: 4

Compression:

Stored size: 278 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

4 entries across 4 versions & 1 rubygems

Version Path
rise-cli-0.3.4 scripts/test_and_build.sh
rise-cli-0.3.2 scripts/test_and_build.sh
rise-cli-0.3.0 scripts/test_and_build.sh
rise-cli-0.2.7 scripts/test_and_build.sh