2019-04-19 17:31:44 +02:00
|
|
|
#!/bin/bash
|
|
|
|
# This will iterate over all directories in packages
|
|
|
|
# so you can do once-off maintenance like removing
|
|
|
|
# node_modules folders and things like that.
|
|
|
|
|
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
|
|
|
CUR=`pwd`
|
|
|
|
|
|
|
|
cd $DIR
|
|
|
|
for d in ../packages/*/ ; do {
|
|
|
|
cd $d
|
2019-04-19 20:09:30 +02:00
|
|
|
# do something here
|
2019-04-20 19:50:37 +02:00
|
|
|
pwd
|
2020-03-15 16:34:56 +01:00
|
|
|
rm -rf report
|
2019-04-19 17:31:44 +02:00
|
|
|
cd ..
|
|
|
|
}
|
|
|
|
done
|
|
|
|
cd $CUR
|
|
|
|
|
|
|
|
|