canvas-lms/gems/i18n_extraction/test.sh

16 lines
237 B
Bash
Executable File

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