aboutsummaryrefslogtreecommitdiffhomepage
path: root/bin/c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/c')
-rwxr-xr-xbin/c10
1 files changed, 6 insertions, 4 deletions
diff --git a/bin/c b/bin/c
index a7b752cc67..129a4e142b 100755
--- a/bin/c
+++ b/bin/c
@@ -11,10 +11,12 @@ if [ $BRANCH == $CLEAN ]; then
exit 1
fi
-git checkout $CLEAN
-./gyp_skia >/dev/null
-ninja -C out/Release nanobench
-out/Release/nanobench $@ --samples $SAMPLES -v 2> $CLEAN.log
+if [ ! -f $CLEAN.log ]; then
+ git checkout $CLEAN
+ ./gyp_skia >/dev/null
+ ninja -C out/Release nanobench
+ out/Release/nanobench $@ --samples $SAMPLES -v 2> $CLEAN.log
+fi
git checkout $BRANCH
./gyp_skia >/dev/null