mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-15 21:03:55 -07:00
After 26994b156b just removing the
libraries/source directory will delete files under version control
needed to build the packages.
Use git clean instead to get back to a clean slate.
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
16 lines
499 B
Bash
Executable file
16 lines
499 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# This short script allows one to reset source libraries to a clean state
|
|
# (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")" || exit 1
|
|
# Now in libraries/ (where we assume this script resides)
|
|
|
|
echo "Cleaning bundled third-party dependencies..."
|
|
|
|
git clean -fx source
|
|
|
|
echo
|
|
echo "Done. Try running build-source-libs.sh again now."
|