Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

erlangr r14 & rebar compatibility

  • Loading branch information...
commit 1cd58a679bf8e0103a88869d92495d6c05807d7f 1 parent 3f7bc80
benoitc authored
View
4 Makefile
@@ -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 $<
View
4 src/lhttpc.app.src
@@ -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}},
View
1  test/lhttpc_manager_tests.erl
@@ -37,6 +37,7 @@
start_app() ->
ok = application:start(crypto),
+ application:start(public_key),
ok = application:start(ssl),
ok = application:start(lhttpc).
View
1  test/lhttpc_tests.erl
@@ -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().
Please sign in to comment.
Something went wrong with that request. Please try again.