2024-08-20 09:57:00 -07:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
2024-10-18 13:35:24 -07:00
|
|
|
# This short script allows one to reset source libraries to a clean state
|
2024-08-20 09:57:00 -07:00
|
|
|
# (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.)
|
|
|
|
|
|
2024-08-27 07:14:51 -07:00
|
|
|
cd "$(dirname "$0")" || exit 1
|
2024-08-20 09:57:00 -07:00
|
|
|
# Now in libraries/ (where we assume this script resides)
|
|
|
|
|
|
|
|
|
|
echo "Cleaning bundled third-party dependencies..."
|
|
|
|
|
|
2024-10-18 13:35:24 -07:00
|
|
|
git clean -fx source
|
2024-08-20 09:57:00 -07:00
|
|
|
|
|
|
|
|
echo
|
|
|
|
|
echo "Done. Try running build-source-libs.sh again now."
|