Merge pull request #64 from S-B99/master

Copy newly built *-release.jar to mods\ver folder
This commit is contained in:
Ridan Vandenbergh 2019-08-06 00:47:43 +02:00 committed by GitHub
commit 80577a7ce0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 1 deletions

View File

@ -0,0 +1,8 @@
# Contributing Guidelines
## Creating a pull request
If you are proposing a pull request, please make sure the change won't interfere with anything current, and that it is useful.
## Creating an issue
If you want to request a feature use the Feature Issue template, and the Bug Report template for reporting a bug or crash.
#### Please be respectful of others, and use a polite tone

View File

@ -80,7 +80,7 @@ You can build by running `autobuild.bat`, or if you prefer the manual way, do th
gradlew.bat build
cd build/libs
```
In `build/libs` you will find a file `KAMI-<minecraftVersion>-<kamiVersion>-full.jar` which you can copy to the `mods` folder of a minecraft instance that has forge installed.
To copy the release jar in `build/libs` you can run `autocopy.bat` or, if you prefer doing it manually, find a file `KAMI-<minecraftVersion>-<kamiVersion>-release.jar` which you can copy to the `mods` folder of a minecraft instance that has forge installed.
## Thank you
[ZeroMemes](https://github.com/ZeroMemes) for [Alpine](https://github.com/ZeroMemes/Alpine)

2
autocopy Normal file
View File

@ -0,0 +1,2 @@
rm ~/.minecraft/mods/1.12.2/KAMI*
cp build/libs/*-release.jar ~/.minecraft/mods/1.12.2/

2
autocopy.bat Normal file
View File

@ -0,0 +1,2 @@
del %appdata%\.minecraft\mods\1.12.2\Kami*.jar
xcopy %~dp0build\libs\*-release.jar %appdata%\.minecraft\mods\1.12.2\