-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from EnderProyects/master
Updated buildscript
- Loading branch information
Showing
166 changed files
with
15,562 additions
and
12,797 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,22 @@ | ||
# This is the universal Text Editor Configuration | ||
# for all GTNewHorizons projects | ||
# See: https://editorconfig.org/ | ||
|
||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_size = 4 | ||
indent_style = space | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.{bat,ini}] | ||
end_of_line = crlf | ||
|
||
[*.{dtd,json,info,mcmeta,md,sh,svg,xml,xsd,xsl,yaml,yml}] | ||
indent_size = 2 | ||
|
||
[*.lang] | ||
trim_trailing_whitespace = false |
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,44 @@ | ||
* text eol=lf | ||
|
||
*.[jJ][aA][rR] binary | ||
|
||
*.[pP][nN][gG] binary | ||
*.[jJ][pP][gG] binary | ||
*.[jJ][pP][eE][gG] binary | ||
*.[gG][iI][fF] binary | ||
*.[tT][iI][fF] binary | ||
*.[tT][iI][fF][fF] binary | ||
*.[iI][cC][oO] binary | ||
*.[sS][vV][gG] text | ||
*.[eE][pP][sS] binary | ||
*.[xX][cC][fF] binary | ||
|
||
*.[kK][aA][rR] binary | ||
*.[mM]4[aA] binary | ||
*.[mM][iI][dD] binary | ||
*.[mM][iI][dD][iI] binary | ||
*.[mM][pP]3 binary | ||
*.[oO][gG][gG] binary | ||
*.[rR][aA] binary | ||
|
||
*.7[zZ] binary | ||
*.[gG][zZ] binary | ||
*.[tT][aA][rR] binary | ||
*.[tT][gG][zZ] binary | ||
*.[zZ][iI][pP] binary | ||
|
||
*.[tT][cC][nN] binary | ||
*.[sS][oO] binary | ||
*.[dD][lL][lL] binary | ||
*.[dD][yY][lL][iI][bB] binary | ||
*.[pP][sS][dD] binary | ||
*.[tT][tT][fF] binary | ||
*.[oO][tT][fF] binary | ||
|
||
*.[pP][aA][tT][cC][hH] -text | ||
|
||
*.[bB][aA][tT] text eol=crlf | ||
*.[cC][mM][dD] text eol=crlf | ||
*.[pP][sS]1 text eol=crlf | ||
|
||
*[aA][uU][tT][oO][gG][eE][nN][eE][rR][aA][tT][eE][dD]* binary |
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,12 @@ | ||
#!/usr/bin/env bash | ||
|
||
if ! git diff --name-only HEAD HEAD~1 | grep -qF 'build.gradle'; then | ||
new_version="$(date +%s)" | ||
sed --in-place "s!^//version:.*!//version: $new_version!g" build.gradle | ||
git add build.gradle | ||
git commit -m "[ci skip] update build script version to $new_version" | ||
git push | ||
printf 'Updated buildscript version to %s\n' "$new_version" | ||
else | ||
printf 'Ignored buildscript version update: no changes detected\n' | ||
fi |
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,13 @@ | ||
|
||
name: Build and test | ||
|
||
on: | ||
pull_request: | ||
branches: [ master, main ] | ||
push: | ||
branches: [ master, main ] | ||
|
||
jobs: | ||
build-and-test: | ||
uses: GTNewHorizons/GTNH-Actions-Workflows/.github/workflows/build-and-test.yml@master | ||
secrets: inherit |
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,14 @@ | ||
|
||
name: Release tagged build | ||
|
||
on: | ||
push: | ||
tags: [ '*' ] | ||
|
||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
release-tags: | ||
uses: GTNewHorizons/GTNH-Actions-Workflows/.github/workflows/release-tags.yml@master | ||
secrets: inherit |
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 |
---|---|---|
@@ -1,21 +1,32 @@ | ||
# These are some examples of commonly ignored file patterns. | ||
# You should customize this list as applicable to your project. | ||
# Learn more about .gitignore: | ||
# https://www.atlassian.com/git/tutorials/saving-changes/gitignore | ||
|
||
# eclipse | ||
bin | ||
*.launch | ||
.gradle | ||
.settings | ||
.metadata | ||
/.idea/ | ||
/.vscode/ | ||
/run/ | ||
/build/ | ||
/eclipse/ | ||
.classpath | ||
.project | ||
|
||
# gradle | ||
build | ||
.gradle | ||
|
||
# other | ||
eclipse | ||
run | ||
/bin/ | ||
/config/ | ||
/crash-reports/ | ||
/logs/ | ||
options.txt | ||
/saves/ | ||
usernamecache.json | ||
banned-ips.json | ||
banned-players.json | ||
eula.txt | ||
ops.json | ||
server.properties | ||
servers.dat | ||
usercache.json | ||
whitelist.json | ||
/out/ | ||
*.iml | ||
*.ipr | ||
*.iws | ||
src/main/resources/mixins.*([!.]).json | ||
*.bat | ||
*.DS_Store | ||
!gradlew.bat |
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,3 @@ | ||
# Any Github changes require admin approval | ||
/.github/** @GTNewHorizons/admin | ||
|
Oops, something went wrong.