File: clean-source-libs.sh

package info (click to toggle)
0ad 0.28.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 182,352 kB
  • sloc: cpp: 201,989; javascript: 19,730; ansic: 15,057; python: 6,597; sh: 2,046; perl: 1,232; xml: 543; java: 533; makefile: 105
file content (16 lines) | stat: -rwxr-xr-x 499 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/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."