mirror of
https://gitlab.com/xonotic/xonotic
synced 2025-02-13 09:07:32 +00:00
keep local branches alive when running clean
This commit is contained in:
parent
5aec9f4acb
commit
ca878e8b74
@ -12,7 +12,8 @@ echo " ================="
|
|||||||
echo
|
echo
|
||||||
if [ -f ./all ]; then
|
if [ -f ./all ]; then
|
||||||
echo "WARNING: running this script will destroy ANY local changes you"
|
echo "WARNING: running this script will destroy ANY local changes you"
|
||||||
echo "might have on the repository that haven't been pushed yet."
|
echo "might have on the repository that haven't been pushed or stored"
|
||||||
|
echo "in a local branch yet."
|
||||||
echo
|
echo
|
||||||
if [ x"$1" != x"--yes" ]; then
|
if [ x"$1" != x"--yes" ]; then
|
||||||
echo "Are you absolutely sure you want to run this?"
|
echo "Are you absolutely sure you want to run this?"
|
||||||
@ -34,7 +35,7 @@ if [ -f ./all ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f ./all ]; then
|
if [ -f ./all ]; then
|
||||||
./all clean --reclone
|
./all clean -fU -m -r
|
||||||
./all compile -r
|
./all compile -r
|
||||||
export USE_GDB=no
|
export USE_GDB=no
|
||||||
set -- ./all run "$@"
|
set -- ./all run "$@"
|
||||||
@ -70,7 +71,7 @@ for e in omg low med normal high ultra ultimate; do
|
|||||||
cat data/benchmark.log >> data/the-big-benchmark.log
|
cat data/benchmark.log >> data/the-big-benchmark.log
|
||||||
done
|
done
|
||||||
if [ -f ./all ]; then
|
if [ -f ./all ]; then
|
||||||
./all clean -r -f -u
|
./all clean -r
|
||||||
fi
|
fi
|
||||||
|
|
||||||
rm -f data/benchmark.log
|
rm -f data/benchmark.log
|
||||||
|
Loading…
Reference in New Issue
Block a user