Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

30 lines (22 sloc) 0.703 kB
coverage: build coverage/hpc_index.html
build:
cabal configure -fhpc
cabal build
coverage/text-tests.tix:
-mkdir -p coverage
./dist/build/text-tests/text-tests
mv text-tests.tix $@
coverage/text-tests-stdio.tix:
-mkdir -p coverage
./scripts/cover-stdio.sh ./dist/build/text-tests-stdio/text-tests-stdio
mv text-tests-stdio.tix $@
coverage/coverage.tix: coverage/text-tests.tix coverage/text-tests-stdio.tix
hpc combine --output=$@ \
--exclude=Main \
coverage/text-tests.tix \
coverage/text-tests-stdio.tix
coverage/hpc_index.html: coverage/coverage.tix
hpc markup --destdir=coverage coverage/coverage.tix
clean:
rm -rf dist coverage .hpc
.PHONY: build coverage
Jump to Line
Something went wrong with that request. Please try again.