Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
41 lines (28 sloc) 839 Bytes
# (c) Copyright Levent Erkok. All rights reserved.
#
# The sbv library is distributed with the BSD3 license. See the LICENSE file
# in the distribution for details.
SRCS = $(shell find . -name '*.hs' -or -name '*.lhs' | grep -v SBVUnitTest/SBVUnitTest.hs)
.PHONY: all install test sdist clean docs gold tags
all: install test sdist
install:
cabal install
test:
@echo "Executing inline tests.."
@time (doctest ${SRCS} | grep -v "Could not find documentation" | exit 0)
@echo "Starting external test suite.."
@time (SBVUnitTests | cat)
sdist:
cabal sdist
clean:
cabal clean
docs:
cabal haddock --hyperlink-source
configure:
cabal configure
release: clean all docs
gold:
ghc -idist/build/autogen/ SBVUnitTest/SBVUnitTest.hs -e "createGolds \"${TGTS}\""
tags:
find . -name \*.\*hs | xargs hasktags -c
sort -o tags tags