From 8f424ea0e335292ad7ba32037e4f57541fe2ca7f Mon Sep 17 00:00:00 2001 From: Joshua Clayton Date: Fri, 24 Jun 2016 09:22:06 -0400 Subject: [PATCH] Outline installation via Stack This documents now to install via Stack, by updating the list of known packages, ensuring at least lts-6.0, and then installing unused directly. --- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/README.md b/README.md index 5ad66e9..e7f1e47 100644 --- a/README.md +++ b/README.md @@ -46,6 +46,27 @@ brew install unused Alternatively, you can install by hand. +### Stack + +If you already have [Stack] installed, ensure you have the latest list of +packages: + +```sh +stack update +``` + +Verify Stack is using at least `lts-6.0` when installing by checking the +global project settings in `~/.stack/global-project/stack.yaml`. + +Once that is complete, run: + +```sh +stack install unused +``` + +This will install unused in the appropriate directory for Stack; you'll want +to ensure your `$PATH` reflects this. + ### Installing by hand This project uses [Haskell] and [Stack].