From ae54ac322cb9ae2f1675e03f65da2fb06587f077 Mon Sep 17 00:00:00 2001 From: Daniel E Date: Wed, 18 Dec 2019 13:46:39 -0700 Subject: [PATCH] Update readme.md --- readme.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/readme.md b/readme.md index ca8009d..cba277e 100644 --- a/readme.md +++ b/readme.md @@ -11,9 +11,9 @@ Seppuku is a free, lightweight, open-source Minecraft Forge client-side mod for ### Linux / Mac 1. Clone the repository `git clone git@github.com:seppukudevelopment/seppuku.git` 2. Run `gradlew setupDecompWorkspace` -3. Edit `src/main/java/me/rigamortis/seppuku/impl/fml/core/SeppukuClassTransformer.java` change `PatchManager.Environment.IDE` to `PatchManager.Environment.RELEASE` -4. Edit `build.gradle` and change field `buildmode` to `RELEASE` ex: `def buildmode = "RELEASE"` -5. Run `gradlew build` +3. Edit `build.gradle` and change field `buildmode` to `RELEASE` ex: `def + buildmode = "RELEASE"` +4. Run `gradlew build` #### Windows > Highly recommend using a git shell for Windows and using the linux guide above. (https://git-scm.com/downloads) @@ -21,11 +21,11 @@ Seppuku is a free, lightweight, open-source Minecraft Forge client-side mod for 2. Import the project through Gradle via `build.gradle` (simple tutorials online for [intellij](https://stackoverflow.com/questions/31256356/how-to-import-gradle-projects-in-intellij), [eclipse](https://stackoverflow.com/questions/10722773/import-existing-gradle-git-project-into-eclipse), etc.) 3. Run the gradle command `setupDecompWorkspace` via the IDE or gradlew.bat file (via command prompt: `gradlew.bat setupDecompWorkspace`) 4. Refresh the project (reload ide / refresh gradle workspace) -5. Edit `src/main/java/me/rigamortis/seppuku/impl/fml/core/SeppukuClassTransformer.java` change `PatchManager.Environment.IDE` to `PatchManager.Environment.RELEASE` -6. Edit `build.gradle` and change field `buildmode` to `RELEASE` ex: `def buildmode = "RELEASE"` -7. Run the gradle command `build` via the IDE or gradlew.bat file (via command prompt: `gradlew.bat build`) +5. Edit `build.gradle` and change field `buildmode` to `RELEASE` ex: `def +buildmode = "RELEASE"` +6. Run the gradle command `build` via the IDE or gradlew.bat file (via + command prompt: `gradlew.bat build`) # Debugging - Use VM arg `-Dfml.coreMods.load=me.rigamortis.seppuku.impl.fml.core.SeppukuLoadingPlugin` -- Ensure field `PATCH_MANAGER` in **SeppukuClassTransformer.java** is set to `PatchManager.Environment.IDE` - Ensure field `buildmode` in **build.gradle** is set to `IDE` ex: `def buildmode = "IDE"`