Skip to content

Commit

Permalink
erlangr r14 & rebar compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
benoitc committed Aug 15, 2010
1 parent 3f7bc80 commit 1cd58a6
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ test/%.beam: test/%.erl
@echo Compiling $<
@erlc +debug_info -o test/ $<

$(APP_FILE): src/$(APPLICATION).app.src vsn.mk
$(APP_FILE): src/$(APPLICATION).app.src
@echo Generating $@
@sed -e 's/@MODULES@/$(MODULELIST)/' -e 's/@VSN@/$(VSN)/' $< > $@
@sed -e 's/{modules, \[\]}/{modules, \[$(MODULELIST)\]}/' $< > $@

ebin/%.beam: src/%.erl $(HEADERS) $(filter-out $(wildcard ebin), ebin)
@echo Compiling $<
Expand Down
4 changes: 2 additions & 2 deletions src/lhttpc.app.src
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
%%% @end
{application, lhttpc,
[{description, "Lightweight HTTP Client"},
{vsn, "@VSN@"},
{modules, [@MODULES@]},
{vsn, "1.2.5"},
{modules, []},
{registered, [lhttpc_manager]},
{applications, [kernel, stdlib, ssl, crypto]},
{mod, {lhttpc, nil}},
Expand Down
1 change: 1 addition & 0 deletions test/lhttpc_manager_tests.erl
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@

start_app() ->
ok = application:start(crypto),
application:start(public_key),
ok = application:start(ssl),
ok = application:start(lhttpc).

Expand Down
1 change: 1 addition & 0 deletions test/lhttpc_tests.erl
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ test_no(N, Tests) ->

start_app() ->
ok = application:start(crypto),
application:start(public_key),
ok = application:start(ssl),
ok = lhttpc:start().

Expand Down

0 comments on commit 1cd58a6

Please sign in to comment.