aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/tests
diff options
context:
space:
mode:
authorGravatar Yuchen Zeng <zyc@google.com>2016-06-27 23:11:51 -0700
committerGravatar Yuchen Zeng <zyc@google.com>2016-06-27 23:11:51 -0700
commit987e6f9f0e77634a1a71784120f5d5216ce21f2e (patch)
tree968c9b654ea977719a38a7ab84edc66da3261fbf /src/objective-c/tests
parentc2dbb56d28833c474ded2573d5d904e550d94918 (diff)
Avoid using git checkout and git clean
Diffstat (limited to 'src/objective-c/tests')
-rwxr-xr-xsrc/objective-c/tests/build_one_example.sh4
1 files changed, 2 insertions, 2 deletions
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