2010-11-17 01:50:38 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# (We don't attempt to clean up every last file here - output in
|
|
|
|
# binaries/system/ will still be there, etc. This is mostly just
|
|
|
|
# to quickly fix problems in the bundled dependencies.)
|
|
|
|
|
|
|
|
cd "$(dirname $0)"
|
|
|
|
# Now in build/workspaces/ (where we assume this script resides)
|
|
|
|
|
|
|
|
echo "Cleaning bundled third-party dependencies..."
|
|
|
|
|
|
|
|
(cd ../../libraries/fcollada/src && rm -rf ./output)
|
2011-07-18 19:32:07 +02:00
|
|
|
(cd ../../libraries/spidermonkey && rm -f .already-built)
|
|
|
|
(cd ../../libraries/spidermonkey && rm -rf ./js-1.8.5)
|
2010-11-17 01:50:38 +01:00
|
|
|
(cd ../../libraries/nvtt/src && rm -rf ./build)
|
|
|
|
|
|
|
|
(cd ../premake/src && make clean)
|
|
|
|
|
|
|
|
echo "Cleaning build output..."
|
|
|
|
|
2011-07-15 19:56:57 +02:00
|
|
|
# Remove workspaces/gcc if present
|
2010-11-17 01:50:38 +01:00
|
|
|
rm -rf ./gcc
|
2011-07-15 19:56:57 +02:00
|
|
|
# Remove workspaces/xcode3 if present
|
|
|
|
rm -rf ./xcode3
|
2010-11-17 01:50:38 +01:00
|
|
|
|
|
|
|
echo
|
|
|
|
echo "Done. Try running update-workspaces.sh again now."
|