Skip to content

Instantly share code, notes, and snippets.

@BrikerMan
Last active April 15, 2021 04:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BrikerMan/ada2f9b6e17b4f692dd05232e6c10ee1 to your computer and use it in GitHub Desktop.
Save BrikerMan/ada2f9b6e17b4f692dd05232e6c10ee1 to your computer and use it in GitHub Desktop.
report=$( mktemp )
echo "# Environment Debugging" >> $report
echo "" >> $report
echo $"This file will generate an report file Yodo1 for debugging." >> $report
echo "" >> $report
echo $"## Pod Environment" >> $report
echo $"`pod env`" >> $report
echo "" >> $report
echo $"### Podfile.lock" >> $report
echo "" >> $report
echo "\`\`\`log" >> $report
echo $"`cat Podfile.lock`" >> $report
echo "\`\`\`" >> $report
echo "" >> $report
echo $"## Plist Files" >> $report
echo "" >> $report
find . -iregex ".*\.\(plist\)" | while read f ; do
echo "" >> $report
echo $"#### $f" >> $report
echo "" >> $report
echo "\`\`\`xml" >> $report
echo $"`cat "$f"`" >> $report
echo "\`\`\`" >> $report
done
mv $report 'report.md'
printf "Please share the 'report.md' file with yodo1 team"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment