Skip to content

Commit

Permalink
make relx work
Browse files Browse the repository at this point in the history
  • Loading branch information
mattiasw2 committed May 8, 2015
1 parent d6eb438 commit 07e311b
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .edts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
:name "terl"
:node-sname "terl"
:name "edtsterl"
:node-sname "edtsterl"
:lib-dirs '("deps")
:app-include-dirs '("include")
:project-include-dirs '("include")
2 changes: 1 addition & 1 deletion rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

{deps,[
%% triq, alt to eqc and proper: https://github.com/krestenkrab/triq
{eqc, ".*", {git, "git://github.com/rpt/eqcmini.git"}},
%% {eqc, ".*", {git, "git://github.com/rpt/eqcmini.git"}},
%% {cowboy, ".*", {git, "git://github.com/extend/cowboy", {tag,"0.9.0"}}},
%% {gproc, ".*", {git, "git://github.com/uwiger/gproc.git", {tag,"0.3"}}},
%% {erlydtl, ".*", {git, "git://github.com/evanmiller/erlydtl.git", {tag,"0.8.0"}}}
Expand Down
5 changes: 5 additions & 0 deletions release/sys.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
%%% -*- mode:erlang -*-
%%% Warning - this config file *must* end with <dot><whitespace>

[
].
5 changes: 4 additions & 1 deletion src/terl.app.src
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@
{applications, [
kernel,
stdlib,
compiler
compiler,
lager,
sync,
eper
]},
{mod, { terl_app, []}},
{env, []}
Expand Down
6 changes: 3 additions & 3 deletions src/terl_app.erl
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
-spec start(_,_) -> {'error',_} | {'ok',pid()}. %| {'ok',pid(),_}.
start(_StartType, _StartArgs) ->
lager:start(),
edts_log:info("terl started"),
shc_sup:start_link().
lager:info("terl started",[]),
terl_sup:start_link().

-spec stop(_) -> 'ok'.
stop(_State) ->
edts_log:info("terl stopped"),
lager:info("terl stopped",[]),
ok.

0 comments on commit 07e311b

Please sign in to comment.