You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
383 B
17 lines
383 B
# @expo/xcpretty
|
|
|
|
This can be used to parse and format xcodebuild logs.
|
|
The default error and warning format matches that of other tools in the Expo ecosystem.
|
|
|
|
```ts
|
|
import { Formatter } from '@expo/xcpretty';
|
|
|
|
const formatter = new Formatter({ projectRoot: '/' });
|
|
|
|
const lines = formatter.pipe('xcodebuild log results...');
|
|
|
|
for (const line of lines) {
|
|
console.log(line);
|
|
}
|
|
```
|