0
Fork 0
mirror of https://codeberg.org/librewolf/source.git synced 2025-01-03 03:10:07 -05:00

pretty print uBOAssets.json for better diff

This commit is contained in:
Malte Jürgens 2022-04-06 20:58:28 +02:00
parent dc822fbe37
commit 6014d3649a
No known key found for this signature in database
GPG key ID: D29FBD5F93C0CFC3
2 changed files with 681 additions and 3 deletions

File diff suppressed because one or more lines are too long

View file

@ -38,9 +38,12 @@ add_filter_list "LegitimateURLShortener" '{
# Write the resulting json into line 4 of the patchfile # Write the resulting json into line 4 of the patchfile
echo "-> Writing to assets/uBOAssets.json" echo "-> Writing to assets/uBOAssets.json"
echo $assets | jq -c >./assets/uBOAssets.json echo $assets | jq . >./assets/uBOAssets.json
if [[ "$(read -e -p '-? Commit changes? [y/N] '; echo $REPLY)" == [Yy]* ]]; then if [[ "$(
read -e -p '-? Commit changes? [y/N] '
echo $REPLY
)" == [Yy]* ]]; then
echo "-> Committing changes" echo "-> Committing changes"
git add assets/uBOAssets.json git add assets/uBOAssets.json
git commit -m "Update uBOAssets.json with latest changes" git commit -m "Update uBOAssets.json with latest changes"