diff --git a/Makefile b/Makefile index 3298e34..c7b09b6 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,11 @@ PROJECT = fcm PROJECT_VERSION = $(shell head -n 1 relx.config | awk '{split($$0, a, "\""); print a[2]}') +app:: rebar.config + DEPS = lager jsx google_oauth -dep_lager = git https://github.com/erlang-lager/lager 3.8.0 +dep_lager = git https://github.com/erlang-lager/lager 3.8.1 dep_jsx = git https://github.com/talentdeficit/jsx.git v3.0.0 dep_google_oauth = git https://github.com/pankajsoni19/google_oauth_erlang.git 1.0.0 diff --git a/rebar.config b/rebar.config new file mode 100644 index 0000000..0455840 --- /dev/null +++ b/rebar.config @@ -0,0 +1,4 @@ +{deps, [ +{lager,".*",{git,"https://github.com/erlang-lager/lager","3.8.1"}},{jsx,".*",{git,"https://github.com/talentdeficit/jsx.git","v3.0.0"}},{google_oauth,".*",{git,"https://github.com/pankajsoni19/google_oauth_erlang.git","1.0.0"}} +]}. +{erl_opts, [debug_info,warn_export_vars,warn_shadow_vars,warn_obsolete_guard,{parse_transform,lager_transform}]}.