mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
[cpp] Temporarily remove IK bendDirection fix in SkeletonBinary
This commit is contained in:
parent
73da9ff5e3
commit
691f55a315
1034
tests/package-lock.json
generated
1034
tests/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -13,12 +13,19 @@ if ! docker images | grep -q "$IMAGE_NAME" || [ Dockerfile -nt .docker-built ];
|
|||||||
touch .docker-built
|
touch .docker-built
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Clean any existing node_modules to avoid platform conflicts
|
# Clean any existing node_modules and C++ build to avoid platform conflicts
|
||||||
if [ -d "node_modules" ]; then
|
if [ -d "node_modules" ]; then
|
||||||
echo "Cleaning node_modules to avoid platform conflicts..."
|
echo "Cleaning node_modules to avoid platform conflicts..."
|
||||||
rm -rf node_modules package-lock.json
|
rm -rf node_modules package-lock.json
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -f "../spine-cpp/build/headless-test" ]; then
|
||||||
|
if ! ../spine-cpp/build/headless-test --help >/dev/null 2>&1; then
|
||||||
|
echo "Cleaning C++ build directory (wrong platform)..."
|
||||||
|
rm -rf ../spine-cpp/build
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
# Run the test in Docker
|
# Run the test in Docker
|
||||||
echo "Running test in Docker container..."
|
echo "Running test in Docker container..."
|
||||||
docker run --rm \
|
docker run --rm \
|
||||||
|
|||||||
@ -14,6 +14,15 @@ if ! command -v npm &> /dev/null; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Clean C++ build directory if executable exists but is wrong platform
|
||||||
|
if [ -f "../spine-cpp/build/headless-test" ]; then
|
||||||
|
if ! ../spine-cpp/build/headless-test --help >/dev/null 2>&1; then
|
||||||
|
log_action "Cleaning C++ build directory (wrong platform)"
|
||||||
|
rm -rf ../spine-cpp/build
|
||||||
|
log_ok
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
# Install dependencies if node_modules doesn't exist
|
# Install dependencies if node_modules doesn't exist
|
||||||
if [ ! -d "node_modules" ]; then
|
if [ ! -d "node_modules" ]; then
|
||||||
log_action "Installing dependencies"
|
log_action "Installing dependencies"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user