Skip to content

Instantly share code, notes, and snippets.

@edwindotcom
Created November 26, 2013 17:43
Show Gist options
  • Save edwindotcom/7662682 to your computer and use it in GitHub Desktop.
Save edwindotcom/7662682 to your computer and use it in GitHub Desktop.
generate code cover bash script
#! /usr/bin/python
import os
files = os.listdir("test/run")
for file in files:
print "istanbul cover test/run/%s" % file
print "mv coverage coverage_%s" % file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment