Skip to content

Commit bc48cce

Browse files
authored
chore: add clean-nested make target (#6250)
1 parent 3c64d78 commit bc48cce

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

Makefile

+8-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@ login:
1212
sync:
1313
make -f Makefile.private.mk sync
1414

15+
# removes nested node_modules folders
16+
clean-nested:
17+
rm -rf ./lib/*/node_modules
18+
rm -rf ./packages/*/node_modules
19+
rm -rf ./clients/*/node_modules
20+
rm -rf ./private/*/node_modules
21+
1522
link-smithy:
1623
rm -rf ./node_modules/\@smithy
1724
ln -s ../../smithy-typescript/packages/ ./node_modules/\@smithy
@@ -49,4 +56,4 @@ tpk:
4956

5057
server-protocols:
5158
yarn generate-clients -s
52-
yarn test:server-protocols
59+
yarn test:server-protocols

0 commit comments

Comments
 (0)