git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Safer installation from source in INSTALL.md (#2294)
ab5f139Harry Garrood
CONTRIBUTING.md+2−3
@@ -11,9 +11,8 @@ If you would like to contribute, please consider the issues in the current miles
11Please follow the following guidelines:
11Please follow the following guidelines:
12
12
13- Add at least a test to `examples/passing/` and possibly to `examples/failing`.
13- Add at least a test to `examples/passing/` and possibly to `examples/failing`.
14−- Build the binaries and libs with `cabal build`
14+- Build the binaries and libs with `stack build`
15−- Install the binaries and libs with `cabal install`.
16−- Run `cabal configure --enable-tests && cabal build && cabal test` to build the test suite. You will need `npm` and `node` on your PATH to run the tests.
15+- Run the test suite with `stack test`. You will need `npm` and `node` on your PATH to run the tests.
17- Build the core libraries by running the script in `core-tests`.
16- Build the core libraries by running the script in `core-tests`.
18
17
19## Code Review
18## Code Review
INSTALL.md+6−3
@@ -27,16 +27,19 @@ GHC 7.10.1 or newer is required to compile from source. The easiest way is to
27use stack:
27use stack:
28
28
29```
29```
30−$ stack install --resolver=nightly purescript
30+$ stack update
31+$ stack unpack purescript
32+$ cd purescript-x.y.z # (replace x.y.z with whichever version you just downloaded)
33+$ stack install
31```
34```
32
35
33This will then copy the compiler and utilities into `~/.local/bin`.
36This will then copy the compiler and utilities into `~/.local/bin`.
34
37
35
38
36−If you don't have stack installed yet there are install instructions
39+If you don't have stack installed, there are install instructions
37[here](https://github.com/commercialhaskell/stack/blob/master/doc/install_and_upgrade.md).
40[here](https://github.com/commercialhaskell/stack/blob/master/doc/install_and_upgrade.md).
38
41
39−If you don't have ghc installed yet, stack will prompt you to run `stack setup`
42+If you don't have ghc installed, stack will prompt you to run `stack setup`
40which will install ghc for you.
43which will install ghc for you.
41
44
42## The "curses" library
45## The "curses" library