2010-01-05 12:28:52 +00:00
|
|
|
.PHONY : test test-coverage
|
2010-01-05 03:55:50 +00:00
|
|
|
|
|
|
|
test :
|
2010-01-06 03:07:30 +00:00
|
|
|
testrb `find tests -name '*.rb'`
|
2010-01-05 12:28:52 +00:00
|
|
|
|
|
|
|
test-coverage :
|
2010-03-24 01:24:27 +00:00
|
|
|
rcov -x '\/.rvm\/' -x '\/tests\/data\/' `find tests -name '*.rb'`
|
2010-01-07 00:57:32 +00:00
|
|
|
sed 's#<td class="left_align"><a href="<script>.html"><script></a></td>#<td></td>#' coverage/index.html > coverage/index.html.new
|
|
|
|
mv coverage/index.html.new coverage/index.html
|