Packages
partisan
5.0.0-rc.2
5.0.3
5.0.2
5.0.1
5.0.0
5.0.0-rc.16
5.0.0-rc.8
5.0.0-rc.2
5.0.0-rc.1
5.0.0-beta.24
5.0.0-beta.21
5.0.0-beta.20
5.0.0-beta.18
5.0.0-beta.17
5.0.0-beta.16
5.0.0-beta.15
5.0.0-beta.14
5.0.0-beta.13
4.1.0
3.0.0
2.1.0
2.0.0
1.4.1
1.4.0
1.3.4
1.3.3
1.3.2
1.3.1
1.3.0
1.2.0
1.1.0
1.0.2
1.0.1
1.0.0
0.3.0
0.2.3
0.2.2
0.2.1
0.2.0
0.1.1
0.1.0
0.0.1
Partisan is a scalable and flexible, TCP-based membership system and distribution layer for the BEAM.
Current section
Files
Jump to
Current section
Files
rebar.config.script
%% -*- mode: erlang;erlang-indent-level: 4;indent-tabs-mode: nil -*-
%% ex: ts=4 sw=4 ft=erlang et
%%
%% We will add the location of the OTP patched modules based on the
%% OTP version
OTPVersion = erlang:system_info(otp_release),
%% The existing configuration from rebar3. CONFIG is a special variable
%% injected by rebar3
SrcDirs0 =
case lists:keyfind(src_dirs, 1, CONFIG) of
{src_dirs, Val} ->
Val;
false ->
["src"]
end,
FindDir = fun
FindDir(V) when V >= "24" ->
SrcDirs = SrcDirs0 ++ ["priv/otp/24"],
lists:keystore(src_dirs, 1, CONFIG, {src_dirs, SrcDirs});
FindDir(V) ->
exit("OTP version " ++ V ++ " not supported by partisan")
end,
FindDir(OTPVersion).