git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Merge pull request #1522 from kRITZCREEK/improve-install-instructions

changes the recommended build tool to stack

commiteb831024edb95b1938aeb74a609c215ec339e5b2 authorPhil Freeman <paf31@cantab.net> dateTue 13 Oct 2015, 12:53 (11 years ago) parentc70560a3fa95cc
1 file changed+12−2
INSTALL.md+12−2
INSTALL.md+12−2
@@ -24,15 +24,25 @@ requirements.
2424## Compiling from source
2525
2626GHC 7.6.1 or newer is required to compile from source. The easiest way is to
27−use `cabal-install`:
27+use stack:
2828
2929```
30−$ cabal update && cabal install purescript
30+$ stack install purescript
3131```
3232
33+This will then copy the compiler and utilities into `~/.local/bin`.
34+
35+
36+If you don't have stack installed yet there are install instructions
37+[here](https://github.com/commercialhaskell/stack/blob/master/doc/install_and_upgrade.md).
38+
39+If you don't have ghc installed yet, stack will prompt you to run `stack setup`
40+which will install ghc for you.
41+
3342The PureScript compiler has been known to run on OS X 10.6 when built with GHC
34437.6.
3544
45+
3646## The "curses" library
3747
3848`psci` depends on the `curses` library (via the Haskell package `terminfo`). If