1
0
Fork 0
freesewing/scripts/taskrunner.sh

20 lines
370 B
Bash
Raw Permalink Normal View History

#!/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
# do something here
2020-04-26 13:09:54 +02:00
echo "npm unpubnish $d@test"
cd ..
}
done
cd $CUR