Permalink
Browse files

Add cleancov script

  • Loading branch information...
1 parent c90d883 commit d9ae6919b2a0a12d0165e548fcfbb0bdbdd5ee8a @jonreid committed Dec 2, 2012
Showing with 19 additions and 0 deletions.
  1. +9 −0 README.md
  2. +10 −0 cleancov
View
@@ -26,6 +26,15 @@ Execution
$ ./getcov
+If you make changes to your test code without changing the production code and
+want a clean slate, use the ``cleancov`` script:
+
+ $ ./cleancov
+
+If you make changes to your production code, you should clear out all build
+artifacts before measuring code coverage again. "Clean Build Folder" by holding
+down the Option key in Xcode's "Product" menu.
+
Modification
============
View
@@ -0,0 +1,10 @@
+#!/bin/sh
+#
+# Copyright 2012 Jonathan M. Reid. See LICENSE.txt
+# Created by: Jon Reid, http://qualitycoding.org/
+# Source: https://github.com/jonreid/XcodeCoverage
+#
+
+source envcov.sh
+
+"${LCOV_PATH}/lcov" -d "${OBJ_DIR}" --zerocounters

0 comments on commit d9ae691

Please sign in to comment.