-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
83f6104
commit 18a0056
Showing
21 changed files
with
2,098 additions
and
186 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,118 +1,32 @@ | ||
# User-specific stuff | ||
.idea/ | ||
|
||
!gradlew.bat | ||
*.bat | ||
*.DS_Store | ||
*.iml | ||
*.ipr | ||
*.iws | ||
|
||
# IntelliJ | ||
out/ | ||
# mpeltonen/sbt-idea plugin | ||
.idea_modules/ | ||
|
||
# JIRA plugin | ||
atlassian-ide-plugin.xml | ||
|
||
# Compiled class file | ||
*.class | ||
|
||
# Log file | ||
*.log | ||
|
||
# BlueJ files | ||
*.ctxt | ||
|
||
# Package Files # | ||
*.jar | ||
*.war | ||
*.nar | ||
*.ear | ||
*.zip | ||
*.tar.gz | ||
*.rar | ||
|
||
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml | ||
hs_err_pid* | ||
|
||
*~ | ||
|
||
# temporary files which can be created if a process still has a handle open of a deleted file | ||
.fuse_hidden* | ||
|
||
# KDE directory preferences | ||
.directory | ||
|
||
# Linux trash folder which might appear on any partition or disk | ||
.Trash-* | ||
|
||
# .nfs files are created when an open file is removed but is still being accessed | ||
.nfs* | ||
|
||
# General | ||
.DS_Store | ||
.AppleDouble | ||
.LSOverride | ||
|
||
# Icon must end with two \r | ||
Icon | ||
|
||
# Thumbnails | ||
._* | ||
|
||
# Files that might appear in the root of a volume | ||
.DocumentRevisions-V100 | ||
.fseventsd | ||
.Spotlight-V100 | ||
.TemporaryItems | ||
.Trashes | ||
.VolumeIcon.icns | ||
.com.apple.timemachine.donotpresent | ||
|
||
# Directories potentially created on remote AFP share | ||
.AppleDB | ||
.AppleDesktop | ||
Network Trash Folder | ||
Temporary Items | ||
.apdisk | ||
|
||
# Windows thumbnail cache files | ||
Thumbs.db | ||
Thumbs.db:encryptable | ||
ehthumbs.db | ||
ehthumbs_vista.db | ||
|
||
# Dump file | ||
*.stackdump | ||
|
||
# Folder config file | ||
[Dd]esktop.ini | ||
|
||
# Recycle Bin used on file shares | ||
$RECYCLE.BIN/ | ||
|
||
# Windows Installer files | ||
*.cab | ||
*.msi | ||
*.msix | ||
*.msm | ||
*.msp | ||
|
||
# Windows shortcuts | ||
*.lnk | ||
|
||
.classpath | ||
.gradle | ||
build/ | ||
|
||
# Ignore Gradle GUI config | ||
gradle-app.setting | ||
|
||
# Cache of project | ||
.gradletasknamecache | ||
|
||
**/build/ | ||
|
||
# Common working directory | ||
run/ | ||
|
||
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored) | ||
!gradle-wrapper.jar | ||
.project | ||
.settings | ||
/.idea/ | ||
/.vscode/ | ||
/bin/ | ||
/build/ | ||
/config/ | ||
/crash-reports/ | ||
/eclipse/ | ||
/logs/ | ||
/out/ | ||
/run/ | ||
/saves/ | ||
banned-ips.json | ||
banned-players.json | ||
eula.txt | ||
ops.json | ||
options.txt | ||
server.properties | ||
servers.dat | ||
src/main/resources/mixins.*([!.]).json | ||
usercache.json | ||
usernamecache.json | ||
whitelist.json |
Validating CODEOWNERS rules …
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 | ||
|
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.