File: clean-workspaces.sh

package info (click to toggle)
0ad 0.27.0-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 171,928 kB
  • sloc: cpp: 194,011; javascript: 19,098; ansic: 15,066; python: 6,328; sh: 1,695; perl: 1,575; java: 533; xml: 415; php: 192; makefile: 99
file content (15 lines) | stat: -rwxr-xr-x 528 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

# This script remains for backwards compatibility, but consists of a single
# git command.

cd "$(dirname "$0")" || exit 1
git clean -fx .

echo "WARNING: This script has been split with libraries/clean-source-libs.sh"
echo "If you want to fix a problem with bundled libs, it's the other script"
echo "you want to invoke."

echo "WARNING: This script is deprecated and might be removed in a future"
echo "release. You can run 'git clean -f build source' from the repository"
echo "root to clean up build workspaces."