From 48e604bda84084e627f9cf5fb03947b835dc1105 Mon Sep 17 00:00:00 2001 From: Thales Macedo Garitezi Date: Fri, 5 Jul 2024 17:47:26 -0300 Subject: [PATCH] fix(mix grpc): include default erlc options --- apps/emqx_exhook/lib/mix/tasks/compile.grpc.ex | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/emqx_exhook/lib/mix/tasks/compile.grpc.ex b/apps/emqx_exhook/lib/mix/tasks/compile.grpc.ex index 333c1ae29..0a33f62b7 100644 --- a/apps/emqx_exhook/lib/mix/tasks/compile.grpc.ex +++ b/apps/emqx_exhook/lib/mix/tasks/compile.grpc.ex @@ -1,6 +1,8 @@ defmodule Mix.Tasks.Compile.Grpc do use Mix.Task.Compiler + alias EMQXUmbrella.MixProject, as: UMP + @recursive true @manifest_vsn 1 @manifest "compile.grpc" @@ -98,7 +100,7 @@ defmodule Mix.Tasks.Compile.Grpc do :return_errors, i: to_charlist(gpb_include_dir), outdir: to_charlist(ebin_path) - ] + ] ++ UMP.erlc_options() ) # todo: error handling & logging case compile_res do