mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 05:13:58 -07:00
Adopt clean-source-libs.sh to split sources
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>
This commit is contained in:
parent
42052b69d9
commit
31365e7aed
1 changed files with 2 additions and 7 deletions
|
|
@ -1,7 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
# This short script allows one to reset source libraries to a clean state without
|
||||
# having to redownload everything.
|
||||
# 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.)
|
||||
|
|
@ -11,11 +10,7 @@ cd "$(dirname "$0")" || exit 1
|
|||
|
||||
echo "Cleaning bundled third-party dependencies..."
|
||||
|
||||
if [ -e source/.svn ]; then
|
||||
(cd source && svn revert -R . && svn st --no-ignore | cut -c 9- | xargs rm -rf)
|
||||
else
|
||||
rm -rf source
|
||||
fi
|
||||
git clean -fx source
|
||||
|
||||
echo
|
||||
echo "Done. Try running build-source-libs.sh again now."
|
||||
|
|
|
|||
Loading…
Reference in a new issue