Sha256: 300b9772939897eabd2b86dc2e3b3716b9f817d9bdc52415a1dddd0f62bfa7aa

Contents?: true

Size: 571 Bytes

Versions: 5

Compression:

Stored size: 571 Bytes

Contents

#!/bin/bash
set -e
CURR_DIR="$2";
cd "$1";
gunzip -c -S .xcactivitylog `ls -t | grep 'xcactivitylog' | head -n1` > output2.log;
awk '{ gsub("\r", "\n"); print }' output2.log > unixfile.txt;
LOG=`echo "puts /(^Test Suite '[\w-]+?\.xctest' started at .+?Test Suite '[\w-]+?\.xctest' (failed|passed).+?\.$)/m.match(File.read(\"unixfile.txt\"))" | ruby`;
cd "$CURR_DIR"
[[ -s "/Users/$USER/.rvm/scripts/rvm" ]] && source "/Users/$USER/.rvm/scripts/rvm"
if [[ -z "$(which learn-xcpretty)" ]]; then
  gem install learn-xcpretty
fi
echo "$LOG" | learn-xcpretty -t --report learn

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
learn-generate-1.0.16 lib/templates/ios/.liftoff/templates/test_runner.sh
learn-generate-1.0.15 lib/templates/ios/.liftoff/templates/test_runner.sh
learn-generate-1.0.14 lib/templates/ios/.liftoff/templates/test_runner.sh
learn-generate-1.0.13 lib/templates/ios/.liftoff/templates/test_runner.sh
learn-generate-1.0.12 lib/templates/ios/.liftoff/templates/test_runner.sh