diff options
author | Léa Gris <lea.gris@noiraude.net> | 2021-04-27 22:36:36 +0200 |
---|---|---|
committer | Léa Gris <lea.gris@noiraude.net> | 2021-04-27 23:09:01 +0200 |
commit | 8ab359f64d112e4d82baa74b6f1b4f9a9ba35104 (patch) | |
tree | 86a8dfdb5c5f8860997db7f7c3d8ed9fc3230da8 /src/main/pack.mcmeta | |
parent | f0702f969258bd01a5fc967c44d1d4805522b17f (diff) | |
download | GT5-Unofficial-8ab359f64d112e4d82baa74b6f1b4f9a9ba35104.tar.gz GT5-Unofficial-8ab359f64d112e4d82baa74b6f1b4f9a9ba35104.tar.bz2 GT5-Unofficial-8ab359f64d112e4d82baa74b6f1b4f9a9ba35104.zip |
tidy(json): all .mcmeta and .info
Normalise all these json files with jq
Used Linux shell
```sh
find ./src -type f \( -iname '*.mcmeta' -o -iname '*.info' \) -execdir bash -c '
for f; do
if jq "." "$f" >/tmp/a.json;
then cat /tmp/a.json >"$f";
fi;
done;
rm -f -- /tmp/a.json
' _ {} +;
```
Diffstat (limited to 'src/main/pack.mcmeta')
-rw-r--r-- | src/main/pack.mcmeta | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main/pack.mcmeta b/src/main/pack.mcmeta index c6d1a1c594..33f118cbd7 100644 --- a/src/main/pack.mcmeta +++ b/src/main/pack.mcmeta @@ -1,6 +1,6 @@ { - "pack":{ - "pack_format":1, - "description":"GregTech Resource Pack" - } -}
\ No newline at end of file + "pack": { + "pack_format": 1, + "description": "GregTech Resource Pack" + } +} |