Skip to content

Commit

Permalink
Merge branch '1.20.1' into 1.20.2
Browse files Browse the repository at this point in the history
* 1.20.1:
  Pass output to both file and console
  • Loading branch information
Faboslav committed Jan 21, 2024
2 parents 9248777 + aae5764 commit 38b8b47
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/scripts/run-client.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

./gradlew $1:runClient > gradle_client_output.txt 2>&1 &
./gradlew $1:runClient --no-daemon 2>&1 | tee gradle_client_output.txt &

SUCCESS_PATTERN='minecraft:textures/atlas/mob_effects\.png-atlas'
ERROR_PATTERNS=(
Expand Down
4 changes: 3 additions & 1 deletion .github/scripts/run-server.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/bin/bash

./gradlew $1:runServer --args="nogui" > gradle_server_output.txt 2>&1 &
mkdir -p $1/run && echo "eula=true" > $1/run/eula.txt

./gradlew $1:runServer --no-daemon --args="nogui" 2>&1 | tee gradle_server_output.txt &

SUCCESS_PATTERN='For help, type "help"'
ERROR_PATTERNS=(
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ clean-cache: ## Cleans cache
rm -rf $GRADLE_HOME/caches/build-cache-*
./gradlew clean

stop: ## Stops all deamons
./gradlew --stop

gen-sources: ## Generate sources
./gradlew genSources

Expand Down

0 comments on commit 38b8b47

Please sign in to comment.