mirror of
https://github.com/valitydev/msgpack-erlang.git
synced 2024-11-06 00:35:24 +00:00
rebar version 2 backwards compatibility
This commit is contained in:
parent
ea521b13ba
commit
ba2f7f73e8
@ -13,11 +13,6 @@
|
||||
"src/msgpack_ext.erl"
|
||||
]}.
|
||||
|
||||
{plugins, [
|
||||
{rebar3_eqc, ".*", {git, "https://github.com/kellymclaughlin/rebar3-eqc-plugin.git", {tag, "0.0.8"}}},
|
||||
rebar3_hex
|
||||
]}.
|
||||
|
||||
%% {port_sources, ["c_src/*.c"]}.
|
||||
%% {port_env, [
|
||||
%% %% Make sure to set -fPIC when compiling leveldb
|
||||
|
10
rebar.config.script
Normal file
10
rebar.config.script
Normal file
@ -0,0 +1,10 @@
|
||||
case application:get_key(rebar, vsn) of
|
||||
{ok, "3."++_} ->
|
||||
PLUGINS = {plugins, [
|
||||
{rebar3_eqc, ".*", {git, "https://github.com/kellymclaughlin/rebar3-eqc-plugin.git", {tag, "0.0.8"}}},
|
||||
rebar3_hex
|
||||
]},
|
||||
lists:keystore(plugins, 1, CONFIG, PLUGINS);
|
||||
_ ->
|
||||
CONFIG
|
||||
end.
|
Loading…
Reference in New Issue
Block a user