react-native-vision-camera/scripts/clean-js.sh
2021-06-28 10:25:47 +02:00

29 lines
403 B
Bash
Executable File

#!/bin/bash
cd "$(dirname "$0")"
cd ..
echo "Running clean script in $PWD"
echo "rm -rf node_modules"
rm -rf node_modules
echo "rm -rf yarn.lock"
rm -rf yarn.lock
rm -rf package-lock.json
echo "cd example"
cd example
echo "rm -rf node_modules"
rm -rf node_modules
echo "rm -rf yarn.lock"
rm -rf yarn.lock
rm -rf package-lock.json
cd ..
echo "yarn in $PWD"
yarn
cd example
echo "yarn in $PWD"
yarn