]> code.delx.au - offlineimap/commitdiff
Added make test
authorJohn Goerzen <jgoerzen@complete.org>
Wed, 28 May 2008 05:27:29 +0000 (00:27 -0500)
committerJohn Goerzen <jgoerzen@complete.org>
Wed, 28 May 2008 05:27:29 +0000 (00:27 -0500)
Makefile

index 22792082a4b3f7eb57a8514c651dd35405233a5a..6842b8c4fe6a95a3e2704ec5b8b025f3e5126275 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -5,6 +5,8 @@ all: setup                      # GHC build
        ./setup configure
        ./setup build
 
+.PHONY: all
+
 doc: lib/dfs.html/index.html lib/dfs.pdf lib/dfs.ps lib/dfs.txt
 
 hugsbuild: setup
@@ -16,6 +18,9 @@ setup: Setup.lhs OfflineIMAP.cabal
 
 clean: clean-code clean-doc
 
+test: all
+       dist/build/runtests/runtests
+
 clean-code:
        -./setup clean
        -cd libsrc && ../setup clean