summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xfix-indent.sh7
-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