Comments (5)
I agree that is not so clear. Here is a summary:
- pipe the Xcode output to a file
xcodebuild #{xcode_args} | tee ' xcode.log'
- generate the JSON from the log
cat xcode.log | XCPRETTY_JSON_FILE_OUTPUT=summary.json xcpretty -f `xcpretty-json-formatter`
- add to you DangerFile
xcode_summary.report 'xcode.json'
Makes sense?
from danger-xcode_summary.
where should I put the first two snippets?
from danger-xcode_summary.
But it depends a lot on how you set up your CI.
Probably the best place should be in the build script.
from danger-xcode_summary.
I use buddybuild. I have postbuild.sh with:
#!/bin/bash
chruby 2.3.1
bundle install
bundle exec danger --fail-on-errors=true
and gemfile, dangerfile
from danger-xcode_summary.
Sorry, I can't help much, I never used buddybuild.
from danger-xcode_summary.
Related Issues (20)
- Error running 0.3.0 `no implicit conversion of Symbol into Integer` HOT 4
- [Question]: Setting to report compiler errors only? HOT 1
- Wrong example for ignored_files HOT 1
- Custom text on success report HOT 6
- Result comment contains only test summary messages without failed tests HOT 1
- xcode_summary.ignored_results does not Read Warnings from xcodebuild.json HOT 11
- [Question] Examples - Undefined method `start_with` HOT 2
- undefined method `html_link' for nil:NilClass HOT 16
- xcode_summary not reporting some items in
- Add category parameter to DangerXcodeSummary::Result HOT 1
- Inline mode (probably) doesn't work exactly as people expected. HOT 4
- Problem with displaying emojis HOT 1
- Full path to file in message HOT 3
- Links to files don't work for Bitbucket Server properly
- Possible to report build errors/warnings without running tests? HOT 2
- CircleCI Danger failure after update HOT 1
- False errors with testRepetitionMode HOT 2
- Summary file not found HOT 2
- Add more maintainer for this repository
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from danger-xcode_summary.