Skip to content

Commit

Permalink
Add eunit_formatters deps and improve rebar config file + bump up ver…
Browse files Browse the repository at this point in the history
…sion
  • Loading branch information
tgrk committed Jun 14, 2016
1 parent 362df3c commit 1f0f6d6
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 8 deletions.
41 changes: 37 additions & 4 deletions rebar.config
Original file line number Diff line number Diff line change
@@ -1,9 +1,42 @@
{deps_dir, ["deps"]}.
{erl_opts, [
debug_info,
warn_unused_vars,
warn_export_all,
warn_shadow_vars,
warn_unused_import,
warn_unused_function,
warn_bif_clash,
warn_unused_record,
warn_deprecated_function,
warn_obsolete_guard,
strict_validation,
warn_export_vars,
warn_exported_vars,
warn_untyped_record
]}.

{erl_opts, [debug_info]}.
{deps, [ {jiffy, "0.14.7"}
, {eunit_formatters, "0.3.1"}
]}.

{deps, [ {jiffy, "0.14.7"} ]}.
{overrides,
[{override, jiffy, [
{plugins, [pc]},
{artifacts, ["priv/jiffy.so"]},
{provider_hooks, [
{post, [
{compile, {pc, compile}}
, {clean, {pc, clean}}
]
}]
}
]}
]}.

{cover_enabled, true}.
{cover_print_enabled, true}.
{eunit_opts, [verbose, {report, {eunit_surefire, [{dir, "."}]}}]}.
{eunit_opts, [verbose,
no_tty,
{report, {eunit_progress, [colored]}}]}.

{xref_checks, [undefined_function_calls]}.
4 changes: 3 additions & 1 deletion rebar.config.script
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ case erlang:function_exported(rebar3, main, 1) of
%% rebar 2.x or older
NewConf = lists:keystore(deps_dir, 1, CONFIG, {deps_dir, "deps"}),
Deps = [{jiffy, "0.*",
{git, "https://github.com/davisp/jiffy.git", "0.14.7"}}
{git, "https://github.com/davisp/jiffy.git", "0.14.7"}},
{eunit_formatters, ".*",
{git, "git://github.com/seancribbs/eunit_formatters", "0.3.1"}}
],
lists:keystore(deps, 1, NewConf, {deps, Deps})
end.
10 changes: 7 additions & 3 deletions src/erlpocket.app.src
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
{application, erlpocket,
[{description, "Erlang library for Pocket API"},
{vsn, "v1.2"},
{vsn, "1.2.1"},
{registered, []},
{applications, [stdlib,
kernel
kernel,
crypto,
public_key,
ssl,
inets
]},
{env, [{verbose, false}]}
{env, [{verbose, false}]},
{maintainers,["Martin Wiso"]},
{licenses,["MIT"]},
{links,[{"Github","https://github.com/tgrk/erlpocket"}]}
Expand Down

0 comments on commit 1f0f6d6

Please sign in to comment.