Browse files

Mention that developers need to call cabal configure

  • Loading branch information...
1 parent 613daa5 commit 4fb9506ff2890642e7b498a07f3cbf9d74f845c0 @ocharles ocharles committed Feb 15, 2013
Showing with 16 additions and 1 deletion.
  1. +16 −1
@@ -50,7 +50,22 @@ If you plan to run tests, you will need to run:
## Building
-To build, simply run `cabal build`.
+To build, you first need to configure the package. If you wish to simple build, use:
+ cabal configure
+Whereas if you also wish to run tests, use:
+ cabal configure --enable-tests
+You can now build the package with:
+ cabal build
+If you later change the `.cabal` file (for example, exporting more modules or
+adding dependencies) then Cabal should be clever enough to reconfigure with the
+same options for you. If you get stuck, you can use `cabal clean` and re-run
+these steps.
## Running tests

0 comments on commit 4fb9506

Please sign in to comment.