Skip to content

Commit

Permalink
Add build-depends instructions to README
Browse files Browse the repository at this point in the history
  • Loading branch information
spinda committed May 12, 2016
1 parent ffb6240 commit 7d24dd8
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7d24dd8

Please sign in to comment.