diff --git a/.gitignore b/.gitignore index 98a695e..ab81ce2 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ test/*.beam .local_dialyzer_plt .erlang.mk rec2json.d +.rec2json.plt diff --git a/.travis.yml b/.travis.yml index ce09c33..0b1d296 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,3 +2,5 @@ language: erlang otp_release: - 18.0 - 17.0 + +script: make tests diff --git a/Makefile b/Makefile index 4c4a461..21135f7 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/ebin/rec2json.app b/ebin/rec2json.app new file mode 100644 index 0000000..21691f7 --- /dev/null +++ b/ebin/rec2json.app @@ -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]} +]}. \ No newline at end of file diff --git a/rebar.config b/rebar.config new file mode 100644 index 0000000..e1a515a --- /dev/null +++ b/rebar.config @@ -0,0 +1,4 @@ +{deps, [ + +]}. +{erl_opts, [debug_info,warn_export_vars,warn_shadow_vars,warn_obsolete_guard]}.