-
Notifications
You must be signed in to change notification settings - Fork 43
/
clean.sh
22 lines (15 loc) · 965 Bytes
/
clean.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash
set -eu
WORKING_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
# shellcheck source=/dev/null
source "${WORKING_DIR}/scripts/step-0-color.sh"
#package-lock.json yarn.lock
#rm -Rf npm/ .node_cache/ .node_tmp/ .tmp/ .bower/ bower_components/ node/ node_modules/ .sass-cache/ .scannerwork/ target/ target-eclipse/ build/ phantomas/ dist/ docs/groovydocs/ docs/js/ docs/partials/ site/ coverage/
#docs/
#dist/bower_components/ dist/fonts/
rm -Rf _build/ build/ .eggs/ .toxs/ dist/ output/pytest-report.xml .coverage output/coverage.xml docs/_build/ docs/_static/* .tox/ .scannerwork/ .pytest_cache/ output/htmlcov/ cprofile out/
rm -f checkstyle.xml overview.html ansible-lint.* ./*.log
find . -maxdepth 2 -mindepth 2 -regextype posix-egrep -type d -regex '.+/.*egg-info' -exec rm -rf {} \;
find . -maxdepth 2 -mindepth 2 -regextype posix-egrep -type d -regex '.*__pycache__.*' -exec rm -rf {} \;
#find hooks -type f -name "*.pyc" -delete
exit 0