@@ -6,40 +6,35 @@ Installation of [`Reason`](http://facebook.github.io/reason/) project for native
66
77** Requirements** : [ OPAM] ( https://opam.ocaml.org ) , the OCaml package manager.
88
9- ` ReasonNativeProject ` installs the ` Reason ` toolchain into your global opam directory
10- using ` opam ` . ` ReasonNativeProject ` can therefore be used as a template for new
11- projects, but can also be used to install the toolchain [ into the global
12- environment] ( #reasonNativeproject-editor-support ) . ` ReasonNativeProject ` includes: the
13- compiler toolchain, the source formatter, REPL, and IDE support for popular
14- editors.
15-
169[ ![ Build Status] ( https://travis-ci.org/reasonml/ReasonNativeProject.svg?branch=master )] ( https://travis-ci.org/reasonml/ReasonNativeProject )
1710
1811## Install
1912
20- Install by cloning the repo and running the following commands. These commands
21- install all dependencies.
13+ Clone the repo and install the dependencies:
2214
2315``` sh
2416git clone https://github.com/reasonml/ReasonNativeProject.git
2517cd ReasonNativeProject
18+ # opam will read into the `opam` file and add the other dependencies
2619opam pin add -y ReasonNativeProject .
2720```
2821
29- ### Run, Change, Rebuild
22+ ### Build
3023
3124There are a couple of built-in commands in the ` Makefile ` .
3225
3326``` sh
34- make build # Rebuilds after changing
35- make clean # Clean if you need to!
27+ make build # build/rebuild your files
28+ make clean # clean the compiled artifacts
3629```
3730
38- A single test file ` ./src/Test .re ` is included. Make a simple change to it and
31+ A single test file ` ./src/test .re ` is included. Make a simple change to it and
3932then run the commands above to see it effect the output.
4033
34+ The built output is in ` /_build ` .
35+
4136The binary output will be in the project root directory -- to run it, type
42- ` ./Test .byte ` !
37+ ` ./test .byte ` !
4338
4439## Developing Your Project
4540
0 commit comments