Last active
April 15, 2021 04:47
-
-
Save BrikerMan/ada2f9b6e17b4f692dd05232e6c10ee1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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