Add stack build instructions to the README.md file.
authorVíctor López Juan <victor@lopezjuan.com>
Tue, 12 Sep 2017 11:57:20 +0000 (13:57 +0200)
committerAnders Mörtberg <andersmortberg@gmail.com>
Tue, 12 Sep 2017 12:27:18 +0000 (14:27 +0200)
README.md

index 11f6cb121d8f3ebf084b6596a2bedd0a0a825f38..f5edae306eb4e12d9f9dca9487a90d0297c78889 100644 (file)
--- a/README.md
+++ b/README.md
@@ -40,6 +40,10 @@ opaque, transparent, transparent_all, Id, idC, idJ
 Install
 -------
 
+You can compile the project using either `cabal`, `make`, or `stack`.
+
+## Cabal
+
 To compile the project using [cabal](https://www.haskell.org/cabal/),
 first install the build-time dependencies (either globally or in a
 cabal sandbox):
@@ -50,6 +54,8 @@ Then the project can be built (and installed):
 
   `cabal install`
 
+## Make
+
 Alternatively, a `Makefile` is provided:
 
 ```sh
@@ -77,6 +83,15 @@ To clean up, run:
     make clean
 ```
 
+## Stack
+
+To compile and install the project using [stack](https://haskellstack.org/), run:
+
+```sh
+    stack setup
+    stack install
+```
+
 Usage
 -----