diff options
author | Linnea Gräf <nea@nea.moe> | 2024-05-24 18:36:39 +0200 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-05-24 18:36:39 +0200 |
commit | fbd72e2a377a4711190307eed581b8b1d80e3406 (patch) | |
tree | 884a2901b2b294123e786af6d6267848c0626396 | |
parent | 5b68a5f3f716c8d12117b39efba8c4b8d09fcb98 (diff) | |
download | ultra-notifier-fbd72e2a377a4711190307eed581b8b1d80e3406.tar.gz ultra-notifier-fbd72e2a377a4711190307eed581b8b1d80e3406.tar.bz2 ultra-notifier-fbd72e2a377a4711190307eed581b8b1d80e3406.zip |
Add indent fix script
-rwxr-xr-x | fix-indent.sh | 7 | ||||
-rw-r--r-- | src/main/resources/META-INF/mods.toml (renamed from versions/1.14.4-forge/src/main/resources/META-INF/mods.toml) | 0 |
2 files changed, 7 insertions, 0 deletions
diff --git a/fix-indent.sh b/fix-indent.sh new file mode 100755 index 0000000..f8a34b7 --- /dev/null +++ b/fix-indent.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash +# Sadly preprocessor likes to insert extra whitespace after a remap +# This removes the space after //$$ which should mean that remaps now +# are fully reversible by selecting the original project and running +# this script. + +find src/main/ -type f -exec sed -i -e 's|//\$\$ |//$$|g' {} + diff --git a/versions/1.14.4-forge/src/main/resources/META-INF/mods.toml b/src/main/resources/META-INF/mods.toml index 41b3d45..41b3d45 100644 --- a/versions/1.14.4-forge/src/main/resources/META-INF/mods.toml +++ b/src/main/resources/META-INF/mods.toml |