Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/fabric' into villager_rng_crac…
Browse files Browse the repository at this point in the history
…king

# Conflicts:
#	gradle.properties
  • Loading branch information
RealRTTV committed Nov 22, 2024
2 parents 15803a5 + fc498e4 commit dd5c552
Show file tree
Hide file tree
Showing 14 changed files with 1,145 additions and 1,556 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,14 @@ jobs:
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
- run: ./gradlew test --stacktrace --no-daemon
- run: ./gradlew build -Pmod_version="$(git describe --always --tags | cut -c2-)" --stacktrace --no-daemon
- uses: actions/upload-artifact@v3
with:
name: clientcommands-snapshot
path: build/libs/
- uses: actions/upload-artifact@v3
if: always()
with:
name: test-results
path: build/reports/
7 changes: 6 additions & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,9 @@ jobs:
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
- run: ./gradlew build --stacktrace --no-daemon
- run: ./gradlew test --stacktrace --no-daemon
- uses: actions/upload-artifact@v3
if: always()
with:
name: test-results
path: build/reports/
8 changes: 8 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,14 @@ dependencies {
include api('net.fabricmc:mapping-io:0.5.1')

codeGenImplementation sourceSets.main.output

testImplementation "net.fabricmc:fabric-loader-junit:${project.loader_version}"
testImplementation "org.junit.jupiter:junit-jupiter:${project.junit_version}"
}

test {
useJUnitPlatform()
systemProperty('clientcommands.regressionTestDir', file('regressionTests').absolutePath)
}

jar {
Expand Down
1,018 changes: 0 additions & 1,018 deletions docs/code_hierarchies/call-hierarchy-Entity.random.txt

This file was deleted.

121 changes: 0 additions & 121 deletions docs/code_hierarchies/call-hierarchy-ItemStack.damage.txt

This file was deleted.

Loading

0 comments on commit dd5c552

Please sign in to comment.