fix(mix grpc): include default erlc options
This commit is contained in:
parent
818070ad44
commit
48e604bda8
|
@ -1,6 +1,8 @@
|
||||||
defmodule Mix.Tasks.Compile.Grpc do
|
defmodule Mix.Tasks.Compile.Grpc do
|
||||||
use Mix.Task.Compiler
|
use Mix.Task.Compiler
|
||||||
|
|
||||||
|
alias EMQXUmbrella.MixProject, as: UMP
|
||||||
|
|
||||||
@recursive true
|
@recursive true
|
||||||
@manifest_vsn 1
|
@manifest_vsn 1
|
||||||
@manifest "compile.grpc"
|
@manifest "compile.grpc"
|
||||||
|
@ -98,7 +100,7 @@ defmodule Mix.Tasks.Compile.Grpc do
|
||||||
:return_errors,
|
:return_errors,
|
||||||
i: to_charlist(gpb_include_dir),
|
i: to_charlist(gpb_include_dir),
|
||||||
outdir: to_charlist(ebin_path)
|
outdir: to_charlist(ebin_path)
|
||||||
]
|
] ++ UMP.erlc_options()
|
||||||
)
|
)
|
||||||
# todo: error handling & logging
|
# todo: error handling & logging
|
||||||
case compile_res do
|
case compile_res do
|
||||||
|
|
Loading…
Reference in New Issue