From c920475b9f9b50559d81d39ad177dbe22b258a35 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=ADctor=20L=C3=B3pez=20Juan?= Date: Tue, 12 Sep 2017 13:57:20 +0200 Subject: [PATCH] Add stack build instructions to the README.md file. --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 11f6cb1..f5edae3 100644 --- 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 ----- -- 2.34.1