Skip to content

Commit

Permalink
Move to rebar3
Browse files Browse the repository at this point in the history
  • Loading branch information
surik committed Apr 28, 2016
1 parent 7d6ef7f commit ee97ccb
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ rebar
*.swp
*.bak
tags
.rebar
_build
erl_crash.dump
7 changes: 2 additions & 5 deletions rebar.config
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
%% -*- mode: erlang -*-
%% ex: ft=erlang

{sub_dirs, ["rel"]}.
{lib_dirs, ["deps"]}.
{require_otp_version, "R16"}.
{deps, [
{lager, ".*", {git, "git://github.com/basho/lager.git", "master"}},
{ranch, ".*", {git, "https://github.com/extend/ranch.git"}}
lager,
ranch
]}.
{erl_opts, [
debug_info,
Expand Down
3 changes: 3 additions & 0 deletions rebar.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[{<<"goldrush">>,{pkg,<<"goldrush">>,<<"0.1.7">>},1},
{<<"lager">>,{pkg,<<"lager">>,<<"3.0.2">>},0},
{<<"ranch">>,{pkg,<<"ranch">>,<<"1.2.1">>},0}].
2 changes: 1 addition & 1 deletion start.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#~/usr/bin/env sh

erl -pa ebin deps/*/ebin -config tunnerl.config -s tunnerl -noshell $@
erl -pa ebin _build/default/lib/*/ebin -config tunnerl.config -s tunnerl -noshell $@

0 comments on commit ee97ccb

Please sign in to comment.