Skip to content

Commit

Permalink
update for rebar3
Browse files Browse the repository at this point in the history
  • Loading branch information
tsloughter committed Feb 12, 2016
1 parent a463682 commit bd2660f
Show file tree
Hide file tree
Showing 8 changed files with 799 additions and 93 deletions.
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
.rebar3
_build
.DS_Store
generated.config
generated.conf
ebin/*
.eunit
src/conf_parse.erl
deps
cuttlefish
*.sublime-project
*.sublime-workspace
log
.local_dialyzer_plt
src/cuttlefish_duration_parse.erl
erln8.config
test_fixtures/escript_prune_test/generated.config/*
test_fixtures/escript_prune_test/generated.config/*
25 changes: 0 additions & 25 deletions Makefile

This file was deleted.

Binary file removed rebar
Binary file not shown.
28 changes: 11 additions & 17 deletions rebar.config
Original file line number Diff line number Diff line change
@@ -1,23 +1,17 @@
{require_otp_vsn, "R16|17|18"}.
{minimum_otp_vsn, "R16"}.

{erl_opts, [warnings_as_errors, {parse_transform, lager_transform}, debug_info, warn_untyped_record]}.
{erl_opts, [warnings_as_errors,
{parse_transform, lager_transform},
debug_info,
warn_untyped_record]}.

{eunit_opts, [verbose]}.
{cover_enabled, true}.
{deps, [getopt, lager, neotoma]}.

{escript_emu_args, "%%! -escript main cuttlefish_escript -smp disable +A 0\n"}.
{escript_incl_apps, [goldrush, getopt, lager]}.

{xref_checks, []}.
{xref_queries, [{"(XC - UC) || (XU - X - B - \"(rebar.*|mustache)\" : Mod)", []}]}.
{escript_incl_apps, [goldrush, getopt, lager, cuttlefish]}.
{escript_main_app, cuttlefish}.

{deps, [
{getopt, ".*", {git, "git://github.com/jcomellas/getopt.git", {tag, "v0.8.2"}}},
{lager, "(2.0|2.1|2.2).*", {git, "git://github.com/basho/lager.git", {tag, "2.2.0"}}},
{neotoma, "1.7.3", {git, "git://github.com/seancribbs/neotoma.git", {tag, "1.7.3"}}}
]}.
{provider_hooks, [{post, [{compile, escriptize}]}]}.

{post_hooks, [
{"-win32", compile, "rebar escriptize"},
{"^((?!-win32).)*$", compile, "./rebar escriptize"}
]}.
{eunit_opts, [verbose]}.
{cover_enabled, true}.
16 changes: 16 additions & 0 deletions rebar.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[{<<"goldrush">>,
{git,"git://github.com/DeadZen/goldrush.git",
{ref,"71e63212f12c25827e0c1b4198d37d5d018a7fec"}},
1},
{<<"neotoma">>,
{git,"git://github.com/seancribbs/neotoma.git",
{ref,"760928ec8870da02eb11bccb501e2700925d06c6"}},
0},
{<<"lager">>,
{git,"git://github.com/basho/lager.git",
{ref,"b6b6cebcb27ccff8acc59ae775acebc2f52e4926"}},
0},
{<<"getopt">>,
{git,"git://github.com/jcomellas/getopt.git",
{ref,"659a28f4145bc9843598972854299dc4ea77e4cb"}},
0}].
Loading

0 comments on commit bd2660f

Please sign in to comment.