canvas-lms/gems/canvas_sort/test.sh

16 lines
233 B
Bash
Executable File

#!/bin/bash
result=0
echo "################ canvas_sort ################"
bundle check || bundle install
bundle exec rspec spec
let result=$result+$?
if [ $result -eq 0 ]; then
echo "SUCCESS"
else
echo "FAILURE"
fi
exit $result