mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
[runtimes] Added optional version parameter to export.sh
This commit is contained in:
parent
39d4d80d3d
commit
7b8475a015
@ -12,8 +12,12 @@ if [ ! -f "$SPINE_EXE" ]; then
|
|||||||
fi
|
fi
|
||||||
echo "Spine exe: $SPINE_EXE"
|
echo "Spine exe: $SPINE_EXE"
|
||||||
|
|
||||||
echo "Please enter the Spine editor version to use to clean the examples (e.g. 3.7.58-beta)"
|
if [ "$#" -eq 1 ]; then
|
||||||
read version
|
version=${1%/}
|
||||||
|
else
|
||||||
|
echo "Please enter the Spine editor version to use to clean the examples (e.g. 3.7.58-beta)"
|
||||||
|
read version
|
||||||
|
fi
|
||||||
|
|
||||||
echo "Cleaning export directories ..."
|
echo "Cleaning export directories ..."
|
||||||
rm -rf ../alien/export/*
|
rm -rf ../alien/export/*
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user