aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2013-07-13 15:06:09 -0700
committerJohn MacFarlane <fiddlosopher@gmail.com>2013-07-13 15:06:09 -0700
commitf7c7672c40d0bfff5bff92cfa308ea153e4462ac (patch)
tree933ea4537bbae649d39a8e283eabb8416e7844d1 /Makefile
parent851703044e1b266f9dedd9957f4a2c15f3acb504 (diff)
downloadpandoc-f7c7672c40d0bfff5bff92cfa308ea153e4462ac.tar.gz
Makefile: --enable-benchmarks no longer works with cabal install.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 52115818a..b97ab1a5e 100644
--- a/Makefile
+++ b/Makefile
@@ -6,6 +6,9 @@
all:
cabal-dev configure --enable-tests --enable-benchmarks && cabal-dev build
+test: all
+ cabal test
+
prof:
cabal-dev configure --disable-tests --enable-library-profiling --enable-executable-profiling && cabal-dev build
@@ -45,4 +48,4 @@ citeproc-hs: pandoc-types
cabal-dev add-source citeproc-hs
install:
- cabal-dev install --enable-tests --enable-benchmarks
+ cabal-dev install --enable-tests