From 987e6f9f0e77634a1a71784120f5d5216ce21f2e Mon Sep 17 00:00:00 2001 From: Yuchen Zeng Date: Mon, 27 Jun 2016 23:11:51 -0700 Subject: Avoid using git checkout and git clean --- src/objective-c/tests/build_one_example.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/objective-c/tests') diff --git a/src/objective-c/tests/build_one_example.sh b/src/objective-c/tests/build_one_example.sh index 56f686319e..24fb8b7bab 100755 --- a/src/objective-c/tests/build_one_example.sh +++ b/src/objective-c/tests/build_one_example.sh @@ -45,9 +45,9 @@ cd `dirname $0`/../../.. cd $EXAMPLE_PATH # clean the directory -git checkout . -git clean -df . rm -rf Pods +rm -rf $SCHEME.xcworkspace +rm -f Podfile.lock pod install -- cgit v1.2.3