From 7d24dd80e229a0b4291ef3a9c346e7ec31c33ac5 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Wed, 11 May 2016 21:29:58 -0700 Subject: [PATCH] Add build-depends instructions to README --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9028eb6..a2d76b5 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,18 @@ (For projects already using a custom `Setup.hs` file, see the section "Custom `Setup.hs` Files" below.) -1. Add a `custom-setup` stanza to your project's .cabal file: +1. Next, it's time to set up your project's .cabal file. + + Add `liquidhaskell-cabal` to the `build-depends` lists of each of your libraries and executables: + + ``` + library + build-depends: {- ... other dependencies ... -} + , liquidhaskell-cabal >= 0.1.1 + {- ... perhaps more dependencies? ... -} + ``` + + Then add a `custom-setup` stanza at the top level, outside the `library` and `executale` sections: ``` custom-setup