Skip to content

Commit

Permalink
Apply Rebel branding to tools/scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
madmiraal committed Jan 18, 2025
1 parent 7151e79 commit afa90ac
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
8 changes: 4 additions & 4 deletions tools/scripts/check_ci_log.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down
20 changes: 10 additions & 10 deletions tools/scripts/make_tarball.sh
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -10,17 +10,17 @@ 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
;;
s)
script_friendly_name=1
;;
v)
godot_version=$OPTARG
rebel_version=$OPTARG
;;
g)
git_treeish=$OPTARG
Expand All @@ -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
Expand Down

0 comments on commit afa90ac

Please sign in to comment.