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:
commit
ef9818bfd2
1 changed files with 12 additions and 0 deletions
12
README.md
12
README.md
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue