packages feed

closed-intervals-0.1.0.0: Makefile

SHELL=/bin/bash

# Use doctest-extract to re-build the test modules.
# test-module.list is a text file containing
# the name of one module (e.g. Data.Interval) per line
update-test: test-module.list
	doctest-extract -i src/ -i test/ -o doctest/ --executable-main=Test/Main.hs --import-tested $$(cat test-module.list)

# run the test suite with cabal
run-test-cabal:	update-test
	cabal test interval-doctest --show-details=streaming

# run the test suite with stack
run-test-stack:	update-test
	stack test closed-intervals:test:interval-doctest