Nuxt/scripts/workspace-run

14 lines
188 B
Plaintext
Raw Normal View History

#!/bin/bash
set -e
for dir in packages/* distributions/* ; do
# echo "$dir"
if [[ $dir == *"node_modules"* ]]; then
continue
fi
pushd $dir > /dev/null
$@
popd > /dev/null
done