mirror of
https://gitlab.com/xonotic/xonotic
synced 2025-02-08 22:47:33 +00:00
keep local branches alive when running clean
This commit is contained in:
parent
5aec9f4acb
commit
ca878e8b74
@ -12,7 +12,8 @@ echo " ================="
|
||||
echo
|
||||
if [ -f ./all ]; then
|
||||
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
|
||||
if [ x"$1" != x"--yes" ]; then
|
||||
echo "Are you absolutely sure you want to run this?"
|
||||
@ -34,7 +35,7 @@ if [ -f ./all ]; then
|
||||
fi
|
||||
|
||||
if [ -f ./all ]; then
|
||||
./all clean --reclone
|
||||
./all clean -fU -m -r
|
||||
./all compile -r
|
||||
export USE_GDB=no
|
||||
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
|
||||
done
|
||||
if [ -f ./all ]; then
|
||||
./all clean -r -f -u
|
||||
./all clean -r
|
||||
fi
|
||||
|
||||
rm -f data/benchmark.log
|
||||
|
Loading…
Reference in New Issue
Block a user