mirror of
https://github.com/valitydev/magista-proto.git
synced 2024-11-06 00:15:16 +00:00
TD-312: Bump to valitydev/damsel@dac2cb5 (#29)
* Use valitydev/thrift compiler v0.14.2.3 + valitydev/rebar3-thrift-compiler v0.4
This commit is contained in:
parent
512e0f68ab
commit
1f7261cf43
2
.github/workflows/erlang-pr.yml
vendored
2
.github/workflows/erlang-pr.yml
vendored
@ -13,6 +13,8 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- uses: valitydev/action-setup-thrift@v1
|
||||
with:
|
||||
thrift-version: "0.14.2.3"
|
||||
|
||||
- uses: erlef/setup-beam@v1
|
||||
id: beam
|
||||
|
@ -2,7 +2,7 @@ include "proto/base.thrift"
|
||||
include "proto/domain.thrift"
|
||||
|
||||
namespace java dev.vality.magista
|
||||
namespace erlang magista
|
||||
namespace erlang magista.magista
|
||||
|
||||
// See https://github.com/valitydev/payout-manager-proto/blob/063163dc/proto/payout_manager.thrift#L7
|
||||
typedef base.ID PayoutID
|
||||
|
10
rebar.config
10
rebar.config
@ -1,6 +1,5 @@
|
||||
%% Common project erlang options.
|
||||
{erl_opts, [
|
||||
|
||||
% mandatory
|
||||
debug_info,
|
||||
warnings_as_errors,
|
||||
@ -26,10 +25,7 @@
|
||||
]}.
|
||||
|
||||
{deps, [
|
||||
{damsel,
|
||||
{git, "https://github.com/valitydev/damsel.git",
|
||||
{branch, "master"}}
|
||||
}
|
||||
{damsel, {git, "https://github.com/valitydev/damsel.git", {branch, "master"}}}
|
||||
]}.
|
||||
|
||||
%% XRef checks
|
||||
@ -57,7 +53,7 @@
|
||||
|
||||
{plugins, [
|
||||
{rebar3_thrift_compiler,
|
||||
{git, "https://github.com/valitydev/rebar3_thrift_compiler.git", {branch, "master"}}}
|
||||
{git, "https://github.com/valitydev/rebar3-thrift-compiler.git", {tag, "0.4"}}}
|
||||
]}.
|
||||
|
||||
{provider_hooks, [
|
||||
@ -70,5 +66,5 @@
|
||||
{thrift_compiler_opts, [
|
||||
{in_dir, "proto"},
|
||||
{in_files, all},
|
||||
{gen, "erlang:scoped_typenames,app_prefix=magista"}
|
||||
{gen, "erlang:app_namespaces"}
|
||||
]}.
|
||||
|
@ -1,4 +1,4 @@
|
||||
[{<<"damsel">>,
|
||||
{git,"https://github.com/valitydev/damsel.git",
|
||||
{ref,"df1c52f2ebe175fabe1da4aec8ac889b2dd03a0b"}},
|
||||
{ref,"dac2cb599499cc0701e60856f4092c9ab283eedf"}},
|
||||
0}].
|
||||
|
@ -3,6 +3,7 @@
|
||||
{vsn, "0.1.0"},
|
||||
{applications, [
|
||||
kernel,
|
||||
stdlib
|
||||
stdlib,
|
||||
damsel
|
||||
]}
|
||||
]}.
|
||||
|
Loading…
Reference in New Issue
Block a user