Permalink
Newer
Older
100644 20 lines (17 sloc) 736 Bytes
1
%% -*- mode: erlang;erlang-indent-level: 4;indent-tabs-mode: nil -*-
2
%% ex: ft=erlang ts=4 sw=4 et
3
4
SoapDeps = [{erlsom, ".*", {git, "git://github.com/willemdj/erlsom.git", {branch, "master"}}},
5
{ibrowse, ".*", {git, "git://github.com/cmullaparthi/ibrowse.git"}, {branch, "master"}},
6
{xmlrpc, ".*", {git, "git://github.com/rwbr/exmlrpc.git", {branch, "master"}}}],
7
8
case os:getenv("YAWS_SOAP") of
9
false ->
10
CONFIG;
11
_ ->
12
case lists:keysearch(deps, 1, CONFIG) of
13
{value, {deps, Deps}} ->
14
NDeps = Deps ++ SoapDeps,
15
lists:keyreplace(deps, 1, CONFIG, {deps, NDeps});
16
false ->
17
CONFIG ++ [{deps, SoapDeps}]
18
end
19
end.