From: Víctor López Juan Date: Tue, 12 Sep 2017 11:57:20 +0000 (+0200) Subject: Add stack build instructions to the README.md file. X-Git-Url: https://git.ak3n.com/?a=commitdiff_plain;h=c920475b9f9b50559d81d39ad177dbe22b258a35;p=cubicaltt.git Add stack build instructions to the README.md file. --- 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 -----