Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 15 lines (10 sloc) 0.38 kb
#!/bin/bash
if [ `command -v istanbul` ]; then
REVISION=`git log -1 --pretty=%h`
DATE=`git log -1 --pretty=%cD | cut -c 6-16`
echo "Running coverage analysis..."
istanbul cover test/runner.js
grep -v 'class="path' coverage/lcov-report/esprima/esprima.js.html | grep -v "class='meta" > test/esprima.js.html
else
echo "Please install Istanbul first!"
fi
Jump to Line
Something went wrong with that request. Please try again.