-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathrebar.config.script
More file actions
19 lines (18 loc) · 977 Bytes
/
rebar.config.script
File metadata and controls
19 lines (18 loc) · 977 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
%% -*- mode: erlang -*-
%% -*- tab-width: 4;erlang-indent-level: 4;indent-tabs-mode: nil -*-
%% ex: ts=4 sw=4 sts ft=erlang et
case erlang:function_exported(rebar3, main, 1) of
true -> % rebar3
CONFIG;
false -> % rebar 2.x or older
%% Rebuild deps, possibly including those that have been moved to
%% profiles
[{deps, [
{b64fast, {git, "https://github.com/zuckschwerdt/b64fast", {branch, master}}},
{erlias, {git, "https://github.com/choptastic/erlias", {branch, master}}},
{poolboy, {git, "https://github.com/devinus/poolboy", {branch, master}}},
%% This version is modified for rebar2 - and pulls the necessary epgsql and decimal libraries
{epgsql_decimal, {git, "https://github.com/choptastic/epgsql_decimal", {branch, master}}},
{mysql, {git, "https://github.com/mysql-otp/mysql-otp", {branch, master}}}
]} | lists:keydelete(deps, 1, CONFIG)]
end.