-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathclean
More file actions
executable file
·32 lines (30 loc) · 755 Bytes
/
clean
File metadata and controls
executable file
·32 lines (30 loc) · 755 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/usr/bin/env bash
set nonomatch
rm -rf generated_settings
# the rest is common to all python directories
rm -f *.pyc *.pyo .test*.sum expected result install.out
rm -rf build *.egg-info dist __pycache__ **/__pycache__ .pytest_cache
rm -rf .coverage .coverage-html htmlcov .eggs .tox
rm -f ec.*.tgz* ec.spec ec.exe
rm -rf ec.build release
rm -f lg0.ec lg.ec compute-zo .ecrc
rm -f tests/lg0.ec tests/lg.ec tests/compute-zo tests/.ecrc
rm -rf .hypothesis .tox .mypy_cache
for i in */clean
do
if [[ "$i" == '*/clean' ]]
then
break
fi
#echo $i
( cd ${i%/*}; ./clean )
done
# for i in */Makefile
# do
# if [[ "$i" == '*/Makefile' ]]
# then
# break
# fi
# #echo $i
# ( cd ${i%/*}; make clean )
# done