Skip to content

Commit bd2dcb5

Browse files
committed
feat: use root makefile on compile
Signed-off-by: Francesco Noacco <francesco.noacco@secomind.com>
1 parent 40ecbdc commit bd2dcb5

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

elixir/edgehog_device_forwarder_proto/mix.exs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ defmodule EdgehogDeviceForwarderProto.MixProject do
1010
version: "0.0.1",
1111
elixir: "~> 1.15",
1212
start_permanent: Mix.env() == :prod,
13+
compilers: [:elixir_make | Mix.compilers],
14+
make_cwd: "../..",
15+
make_targets: ["elixir-install"],
1316
deps: deps()
1417
]
1518
end
@@ -22,7 +25,8 @@ defmodule EdgehogDeviceForwarderProto.MixProject do
2225

2326
defp deps do
2427
[
25-
{:protobuf, "~> 0.12"}
28+
{:protobuf, "~> 0.12"},
29+
{:elixir_make, "~> 0.7"}
2630
]
2731
end
2832
end
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
%{
2+
"elixir_make": {:hex, :elixir_make, "0.7.7", "7128c60c2476019ed978210c245badf08b03dbec4f24d05790ef791da11aa17c", [:mix], [{:castore, "~> 0.1 or ~> 1.0", [hex: :castore, repo: "hexpm", optional: true]}], "hexpm", "5bc19fff950fad52bbe5f211b12db9ec82c6b34a9647da0c2224b8b8464c7e6c"},
23
"protobuf": {:hex, :protobuf, "0.12.0", "58c0dfea5f929b96b5aa54ec02b7130688f09d2de5ddc521d696eec2a015b223", [:mix], [{:jason, "~> 1.2", [hex: :jason, repo: "hexpm", optional: true]}], "hexpm", "75fa6cbf262062073dd51be44dd0ab940500e18386a6c4e87d5819a58964dc45"},
34
}

0 commit comments

Comments
 (0)