From afa90aca96a05420fcb52df9e0d088e830729f81 Mon Sep 17 00:00:00 2001 From: Marcel Admiraal Date: Wed, 10 Jul 2024 11:31:08 +0300 Subject: [PATCH] Apply Rebel branding to tools/scripts --- tools/scripts/check_ci_log.py | 8 ++++---- tools/scripts/make_tarball.sh | 20 ++++++++++---------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/tools/scripts/check_ci_log.py b/tools/scripts/check_ci_log.py index 19d0362d61..f4f72a03ca 100755 --- a/tools/scripts/check_ci_log.py +++ b/tools/scripts/check_ci_log.py @@ -26,10 +26,10 @@ or file_contents.find("Dumping the backtrace") != -1 or file_contents.find("Segmentation fault (core dumped)") != -1 ): - print("FATAL ERROR: Godot has been crashed.") + print("FATAL ERROR: Rebel has been crashed.") sys.exit(1) -# Finding memory leaks in Godot is quite difficult, because we need to take into +# Finding memory leaks in Rebel is quite difficult, because we need to take into # account leaks also in external libraries. They are usually provided without # debugging symbols, so the leak report from it usually has only 2/3 lines, # so searching for 5 element - "#4 0x" - should correctly detect the vast @@ -40,8 +40,8 @@ print("ERROR: Memory leak was found") sys.exit(1) -# It may happen that Godot detects leaking nodes/resources and removes them, so -# this possibility should also be handled as a potential error, even if +# It may happen that Rebel Engine detects leaking nodes/resources and removes +# them, so this possibility should also be handled as a potential error, even if # LeakSanitizer doesn't report anything if file_contents.find("ObjectDB instances leaked at exit") != -1: diff --git a/tools/scripts/make_tarball.sh b/tools/scripts/make_tarball.sh index 9e02b80af1..f01ce10ca5 100755 --- a/tools/scripts/make_tarball.sh +++ b/tools/scripts/make_tarball.sh @@ -1,7 +1,7 @@ #!/bin/sh if [ ! -e "version.py" ]; then - echo "This script should be ran from the root folder of the Godot repository." + echo "This script should be ran from the root folder of the Rebel Engine repository." exit 1 fi @@ -10,9 +10,9 @@ while getopts "h?sv:g:" opt; do h|\?) echo "Usage: $0 [OPTIONS...]" echo - echo " -s script friendly file name (godot.tar.gz)" - echo " -v godot version for file name (e.g. 4.0-stable)" - echo " -g git treeish to archive (e.g. master)" + echo " -s script friendly file name (rebel.tar.gz)" + echo " -v Rebel Engine version for file name (e.g. 1.0-stable)" + echo " -g git treeish to archive (e.g. main)" echo exit 1 ;; @@ -20,7 +20,7 @@ while getopts "h?sv:g:" opt; do script_friendly_name=1 ;; v) - godot_version=$OPTARG + rebel_version=$OPTARG ;; g) git_treeish=$OPTARG @@ -35,17 +35,17 @@ else fi if [ ! -z "$script_friendly_name" ]; then - NAME=godot + NAME=rebel else - if [ ! -z "$godot_version" ]; then - NAME=godot-$godot_version + if [ ! -z "$rebel_version" ]; then + NAME=rebel-$rebel_version else - NAME=godot-$HEAD + NAME=rebel-$HEAD fi fi CURDIR=$(pwd) -TMPDIR=$(mktemp -d -t godot-XXXXXX) +TMPDIR=$(mktemp -d -t rebel-XXXXXX) echo "Generating tarball for revision $HEAD with folder name '$NAME'." echo