Skip to content

Commit db6bb96

Browse files
committed
a script to install all deps
1 parent 0d6e00d commit db6bb96

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# dependencies
2-
/node_modules
2+
node_modules
33

44
# testing
55
/.nyc_output/

scripts/dep-all.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/usr/bin/env bash
2+
3+
set -ue
4+
5+
cd "$(dirname "$0")/../"
6+
7+
for i in *; do
8+
if [[ -d "$i" ]] && [[ -e "$i/yarn.lock" ]]; then
9+
pushd "$i"
10+
yarn
11+
popd
12+
fi
13+
done

0 commit comments

Comments
 (0)