From 8ab359f64d112e4d82baa74b6f1b4f9a9ba35104 Mon Sep 17 00:00:00 2001 From: Léa Gris Date: Tue, 27 Apr 2021 22:36:36 +0200 Subject: 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 ' _ {} +; ``` --- src/main/pack.mcmeta | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/main/pack.mcmeta') 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" + } +} -- cgit