Permalink
Fetching contributors…
Cannot retrieve contributors at this time
114 lines (90 sloc) 2.63 KB
%% -*- tab-width: 4;erlang-indent-level: 4;indent-tabs-mode: nil -*-
%% ex: ft=erlang ts=4 sw=4 et
%
{erl_opts, [debug_info]}.
{deps, [
%% Core
{couch, ".*",
{git, "https://github.com/rcouch/couch.git",
{tag, "1.8.1"}}},
{couch_httpd, ".*",
{git, "https://github.com/rcouch/couch_httpd.git",
{tag, "1.2.4"}}},
%% Index
{couch_index, ".*",
{git, "https://github.com/rcouch/couch_index.git",
{tag, "1.4.0"}}},
{couch_mrview, ".*",
{git, "https://github.com/rcouch/couch_mrview.git",
{tag, "2.1.0"}}},
%% CHANGES handlers
{couch_changes,
{git, "https://github.com/rcouch/couch_changes.git",
{tag, "1.1.0"}}},
{couch_replicator, ".*",
{git, "https://github.com/rcouch/couch_replicator",
{tag, "1.7.0"}}},
{couch_dbupdates, ".*",
{git, "https://github.com/rcouch/couch_dbupdates",
{tag, "1.1.0"}}},
%% Plugins
{couch_randomdoc, ".*",
{git, "https://github.com/rcouch/couch_randomdoc",
{tag, "1.0.1"}}},
{geocouch, ".*",
{git, "https://github.com/rcouch/geocouch",
{tag, "1.0.0"}}}
]}.
{post_hooks, [{compile, "escript support/build_js.escript"}]}.
{relx, [
{release, {'rcouch', "2.0.0-rc2"},
[lager,
sasl,
public_key,
ssl,
crypto,
os_mon,
inets,
runtime_tools,
mochiweb,
ibrowse,
hackney,
couch,
couch_index,
couch_httpd,
couch_mrview,
couch_changes,
couch_replicator,
couch_randomdoc,
couch_dbupdates,
geocouch]},
{sys_config, ""},
{vm_args, ""},
{dev_mode, true},
{include_erts, false},
{extended_start_script, true},
{overlay_vars, "config/vars.config"},
{overlay, [
{mkdir, "log"},
{mkdir, "run"},
{mkdir, "data"},
%% keep empty files
{copy, "config/empty", "log/KEEP"},
{copy, "config/empty", "data/KEEP"},
%% config files
{template, "config/sys.config", "releases/{{rel_vsn}}//sys.config"},
{template, "config/vm.args", "releases/{{rel_vsn}}/vm.args"},
{template, "config/couch.ini", "etc/couch.ini"},
{template, "config/local.ini", "etc/local.ini"},
%% couchdb data files
{mkdir, "share"},
{mkdir, "share/server"},
{copy, "share/server/main.js", "share/server"},
{copy, "share/server/main-coffee.js", "share/server"},
{copy, "share/www", "share"}
]}
]}.
{profiles, [{prod, [{relx, [{dev_mode, false},
{include_erts, true}]}]
}]
}.