This repository has been archived by the owner on Apr 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
479 changed files
with
93,804 additions
and
6,220 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
Hey there. Looks like you want to contribute with an issue. Great. Here's what you have to do: | ||
* Have a look through the [Issue Tracker](https://github.com/UndeadZeratul/ThereWillBeBlood/issues), to see if your issue has been solved already; | ||
* Read through the steps on [Bug Reporting 101](http://vazkii.us/br101/) (You may skip this if you're already familiar with reporting issues, but it's good for newcomers); | ||
|
||
* Note the following points: | ||
* When reporting an issue, please include the version of the modpack (can be found on the title screen), which launcher you are using, and a link to pastebin with any crash report you have received. | ||
* Issues regarding outdated versions of the modpack are **not accepted**; | ||
* Duplicate issues or issues that have been solved already (use the search feature!) will be closed without asking. | ||
* Do not tag your issues' names. "Something Broke" is prefered to "[Bug] Something Broke" because there's a proper label system in place. | ||
* If you are going to post a suggestion, post one, not a wish list; it’s easier to track and manage that way. | ||
|
||
The following "bugs" are not accepted: | ||
* Intended Behaviour | ||
* Constantly dying. | ||
* Not a TWBB problem/Not fixable | ||
* Crash on startup with any mod that isn’t [in this list](https://github.com/UndeadZeratul/ThereWillBeBlood/blob/master/Versions.md) | ||
* Flowers don't render (Optifine issue) | ||
|
||
--- | ||
|
||
If you want to make a Pull Request keep these in mind: | ||
* Do not use the github editor. Test your PRs before you submit them. | ||
* Unless you have a very good reason for it, keep your PRs all in one commit. You can do it with [rebase](https://git-scm.com/docs/git-rebase). | ||
|
||
--- | ||
|
||
Thanks to Vazkii for the contributing guidelines. 8/8 gr8 job m8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
node { | ||
|
||
stage 'Checkout' | ||
|
||
// Get some code from a GitHub repository | ||
git branch: env.BRANCH_NAME, url: 'https://github.com/UndeadZeratul/ThereWillBeBlood.git' | ||
|
||
stage 'Copy Mod Pack Downloader' | ||
bat "del /s /q \"*.jar\"" | ||
step([$class: 'CopyArtifact', | ||
filter: 'target/*.jar', | ||
fingerprintArtifacts: true, | ||
flatten: true, | ||
projectName: 'Mod Pack Downloader', | ||
selector: [$class: 'StatusBuildSelector', | ||
stable: false]]) | ||
|
||
bat '''del /s /q "common\\base\\loaders\\*.jar" | ||
del /s /q "common\\base\\mods\\*.jar" | ||
del /s /q "client\\base\\mods\\*.jar" | ||
del /s /q "server\\base\\mods\\*.jar" | ||
exit 0''' | ||
|
||
stage 'Download Common mods' | ||
bat '''for /f "delims=" %%i IN (\'dir *.jar /b\') DO set modpackdownloader=%%i | ||
java -jar "%modpackdownloader%" common/base/mods.json common/base/mods''' | ||
|
||
stage 'Download Client mods' | ||
bat '''for /f "delims=" %%i IN (\'dir *.jar /b\') DO set modpackdownloader=%%i | ||
java -jar "%modpackdownloader%" client/dev/mods.json client/dev/mods | ||
for /f "delims=" %%i IN (\'dir *.jar /b\') DO set modpackdownloader=%%i | ||
java -jar "%modpackdownloader%" client/base/mods.json client/base/mods | ||
for /f "delims=" %%i IN (\'dir *.jar /b\') DO set modpackdownloader=%%i | ||
java -jar "%modpackdownloader%" client/prod/mods.json client/prod/mods''' | ||
|
||
stage 'Download Server mods' | ||
bat '''for /f "delims=" %%i IN (\'dir *.jar /b\') DO set modpackdownloader=%%i | ||
java -jar "%modpackdownloader%" server/base/mods.json server/base/mods | ||
for /f "delims=" %%i IN (\'dir *.jar /b\') DO set modpackdownloader=%%i | ||
java -jar "%modpackdownloader%" server/prod/mods.json server/prod/mods''' | ||
|
||
// Mark the code build 'stage'.... | ||
stage 'Build Pack' | ||
// Get the maven tool. | ||
def mvnHome = tool 'maven' | ||
|
||
if(env.BRANCH_NAME.contains("release") || env.BRANCH_NAME.contains("master")){ | ||
profileName = "master" | ||
} | ||
else{ | ||
profileName = "develop" | ||
} | ||
|
||
// Run the maven build | ||
bat "\"${mvnHome}\\bin\\mvn\" clean package -D profile.${profileName} -Dbuild.number=${env.BUILD_NUMBER}" | ||
|
||
stage 'Archive' | ||
archive 'target/*.zip,launcher/**/modpack.json,launcher/**/src/mods/*.json' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.