Lightricks/xcpretty — 11★ trên GitHub (Ruby). Flexible and fast xcodebuild formatter
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
You can also install a specific branch or revision using --ref <REF> and --branch <BRANCH>.
Usage
$ xcodebuild [flags] | xcpretty
xcpretty is designed to be piped with xcodebuild and thus keeping 100%
compatibility with it. It's even a bit faster than xcodebuild itself, since
it saves your terminal some prints.
Important: If you're running xcpretty on a CI like Travis or Jenkins, you
may want to exit with same status code as xcodebuild.
CI systems usually use status codes to determine if the build has failed.
You might want to use xcpretty together with tee to store the raw log in a
file, and get the pretty output in the terminal. This might be useful if you
want to inspect a failure in detail and aren't able to tell from the pretty
output.
Here's a way of doing it:
$ xcodebuild [flags] | tee xcodebuild.log | xcpretty
Formats
--simple, -s (default)
--test, -t (RSpec style)
--tap (Test Anything Protocol-compatible output)
--knock, -k (a simplified version of the Test Anything Protocol)
ANSI / UTF-8
--[no-]color: Show build icons in color. (you can add it to --simple or --test format).
Defaults to auto-detecting color availability.
--[no-]utf: Use unicode characters in build output or only ASCII.
Defaults to auto-detecting the current locale.
Reporters
--report junit, -r junit: Creates a JUnit-style XML report at build/reports/junit.xml, compatible with Jenkins and TeamCity CI.
--report html, -r html: Creates a simple HTML report at build/reports/tests.html.
--report json-compilation-database, -r json-compilation-database: Creates a JSON compilation database at build/reports/compilation_db.json. This is a format to replay single compilations independently of the build system.
Writing a report to a custom path can be specified using --output PATH.
Known extensions
xcpretty-travis-formatter: support for cleaner output in TravisCI using code folding
The recommended format is a gem containing the formatter and named
with an xcpretty- prefix, for easier discovery.
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/Lightricks/xcpretty là nguồn chính thức.
Lightricks/xcpretty có phải mã nguồn mở không?
TopGit chưa ghi nhận license cho Lightricks/xcpretty. Phần lớn repo public trên GitHub là mã nguồn mở, nhưng điều khoản khác nhau từng repo — mở file LICENSE để xác nhận.
Lightricks/xcpretty là gì?
Lightricks/xcpretty (Lightricks/xcpretty) là dự án Ruby trên GitHub. Theo mô tả gốc: Flexible and fast xcodebuild formatter
Đọc đầy đủ README ở tab phía trên.
Vẫn đang phân vân về xcpretty?
Một cú bấm sẽ gửi câu hỏi kèm trang này cho AI — xem AI nói gì về xcpretty.