Files
ReactiveCocoa/script/xctool.awk
Justin Spahr-Summers 94ef093dbe Update objc-build-scripts
2013-11-11 11:09:56 -08:00

26 lines
311 B
Awk

# Exit statuses:
#
# 0 - No errors found.
# 1 - Wrong SDK. Retry with SDK `iphonesimulator`.
# 2 - Missing target.
BEGIN {
status = 0;
}
{
print;
}
/Testing with the '(.+)' SDK is not yet supported/ {
status = 1;
}
/does not contain a target named/ {
status = 2;
}
END {
exit status;
}