File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6161 "lint-clang:android:fix" : " find android/ \\ ( -iname \" *.h\" -o -iname \" *.cpp\" \\ ) | grep -v -e build -e generated | xargs npx clang-format -i" ,
6262 "lint-clang" : " yarn lint-clang:ios && yarn lint-clang:android" ,
6363 "lint-clang:fix" : " yarn lint-clang:ios:fix && yarn lint-clang:android:fix" ,
64- "clean" : " del-cli android/build apps/example/android/build apps/example/android/app/build apps/example/ios/build lib " ,
64+ "clean" : " ./scripts/git-clean.sh " ,
6565 "prepare" : " bob build" ,
6666 "release" : " release-it" ,
6767 "android-studio" : " open -a 'Android Studio' apps/example/android" ,
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ echo " Files that will be removed:"
4+ git clean -xfdn | sed ' s/^Would remove //'
5+
6+ echo " "
7+ read -r -p " Proceed with git clean -xfd? [y/N] " confirm
8+
9+ if [[ " $confirm " =~ ^[Yy]$ ]]; then
10+ git clean -xfd
11+ else
12+ echo " Aborted."
13+ fi
You can’t perform that action at this time.
0 commit comments