PeerTube/scripts/danger/clean/modules.sh

8 lines
213 B
Bash
Raw Normal View History

#!/usr/bin/env sh
read -p "This will remove all node and typescript modules. Are you sure? " -n 1 -r
if [[ "$REPLY" =~ ^[Yy]$ ]]; then
2016-05-13 15:18:37 +03:00
rm -rf node_modules client/node_modules client/typings/{browser,main}*
fi