Update readme.md

This commit is contained in:
noil 2019-11-24 21:20:41 -05:00 committed by GitHub
parent 04522e1fe1
commit 6ef80261b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 4 deletions

View File

@ -12,12 +12,11 @@ Seppuku is a free, lightweight, open-source Minecraft Forge client-side mod for
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. Run `gradlew build`
4. Edit `build.gradle` and change field `buildmode` to `RELEASE` ex: `def buildmode = "RELEASE"`
5. Run `gradlew build`
### Windows
#### Windows
> Highly recommend using a git shell for Windows and using the linux guide above. (https://git-scm.com/downloads)
#### IDE
1. Clone the repository
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`)