Skip to content

Commit

Permalink
Fix Rebar Support (#27)
Browse files Browse the repository at this point in the history
With this, projects using rebar should be able to use rec2json again (e.g., resolves #26 ).
  • Loading branch information
lordnull authored Jul 28, 2016
1 parent 2eb811b commit a60219d
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ test/*.beam
.local_dialyzer_plt
.erlang.mk
rec2json.d
.rec2json.plt
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ language: erlang
otp_release:
- 18.0
- 17.0

script: make tests
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
PROJECT = rec2json
PROJECT_DESCRIPTION = Compile erlang record definitions into modules to convert them to/from json easily.
PROJECT_VERSION = 3.2.0
PROJECT_VERSION = 3.2.1

TEST_DEPS = proper jsx
dep_proper = git https://github.com/manopapad/proper master
dep_jsx = git https://github.com/talentdeficit/jsx v2.4.0

app:: rebar.config

include erlang.mk
7 changes: 7 additions & 0 deletions ebin/rec2json.app
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{application, rec2json, [
{description, "Compile erlang record definitions into modules to convert them to/from json easily."},
{vsn, "3.2.1"},
{modules, ['r2j_compile','r2j_type','rec2json']},
{registered, []},
{applications, [kernel,stdlib]}
]}.
4 changes: 4 additions & 0 deletions rebar.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{deps, [

]}.
{erl_opts, [debug_info,warn_export_vars,warn_shadow_vars,warn_obsolete_guard]}.

0 comments on commit a60219d

Please sign in to comment.