Skip to content
This repository was archived by the owner on Aug 5, 2024. It is now read-only.

Commit 217b939

Browse files
committed
Merge pull request #42 from bitemyapp/master
Stack instructions for the docs
2 parents 5e2b12a + 6252179 commit 217b939

File tree

1 file changed

+31
-2
lines changed

1 file changed

+31
-2
lines changed

README.md

+31-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ linear algebra problems to generate more efficient code.
2323
Installation
2424
------------
2525

26-
First, install the [Haskell Platform](https://www.haskell.org/platform/)
27-
(recommended) or other GHC 7.10+ toolchain of your choice.
26+
First, install [Stack](http://haskellstack.org) or [Haskell Platform](https://www.haskell.org/platform/). Key is having GHC 7.10+ available.
2827

2928
Check out the `plover` source:
3029

@@ -33,6 +32,36 @@ $ git clone https://github.com/swift-nav/plover.git
3332
$ cd plover
3433
```
3534

35+
Then use one of the two available build methods.
36+
37+
## Stack build
38+
39+
```
40+
$ stack build
41+
```
42+
43+
Run the test suite (requires gcc):
44+
45+
```
46+
$ stack test --test-arguments --show-details=streaming
47+
```
48+
49+
Installation of the `plover` binary into `~/.local/bin`
50+
51+
```
52+
$ stack build --copy-bins
53+
```
54+
55+
or
56+
57+
```
58+
# same thing as previous
59+
$ stack install
60+
```
61+
62+
63+
## Cabal sandbox build
64+
3665
Next, create a cabal sandbox. This keeps any dependencies isolated so you don't
3766
have to worry about conflicts with other versions you may have on your system.
3867

0 commit comments

Comments
 (0)