Merge pull request #95 from tjweir/develop

Added a section that shows an example of adding jsx to a rebar3 project.
This commit is contained in:
alisdair sullivan 2016-06-15 19:56:45 -07:00 committed by GitHub
commit ef9818bfd2

View file

@ -48,6 +48,18 @@ for the overview or [migrating from 1.x](#migrating) for the details
## quickstart ## ## quickstart ##
#### to add to a rebar3 project ####
Add to `rebar.config`
```erlang
...
{erl_opts, [debug_info]}.
{deps, [
...
{jsx, {git, "https://github.com/talentdeficit/jsx.git", {branch, "v2.8.0"}}}
]}.
...
```
#### to build the library and run tests #### #### to build the library and run tests ####
```bash ```bash