Skip to content

Commit 5a1678e

Browse files
chore(data_access_generators): change deps
Signed-off-by: Gabriele Ghio <gabriele.ghio@secomind.com>
1 parent 5b80167 commit 5a1678e

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

libs/astarte_data_access_generators/mix.exs

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# This file is part of Astarte.
33
#
4-
# Copyright 2025 SECO Mind Srl
4+
# Copyright 2025 - 2026 SECO Mind Srl
55
#
66
# Licensed under the Apache License, Version 2.0 (the "License");
77
# you may not use this file except in compliance with the License.
@@ -42,9 +42,8 @@ defmodule Astarte.DataAccess.Generators.MixProject do
4242

4343
defp astarte_required_modules() do
4444
[
45-
{:astarte_generators, github: "astarte-platform/astarte_generators"},
46-
{:astarte_data_access,
47-
github: "astarte-platform/astarte_data_access", branch: "release-1.3"}
45+
{:astarte_data_access, path: astarte_lib("astarte_data_access")},
46+
{:astarte_generators, path: astarte_lib("astarte_generators")}
4847
]
4948
end
5049

@@ -85,4 +84,9 @@ defmodule Astarte.DataAccess.Generators.MixProject do
8584
}
8685
]
8786
end
87+
88+
defp astarte_lib(library_name) do
89+
base_directory = System.get_env("ASTARTE_LIBRARIES_PATH", "../../libs")
90+
Path.join(base_directory, library_name)
91+
end
8892
end

libs/astarte_data_access_generators/mix.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
%{
2-
"astarte_core": {:git, "https://github.com/astarte-platform/astarte_core.git", "a3c04771d9dd64a65e3b81e0b199c9d3ed3d55c4", [branch: "release-1.3"]},
2+
"astarte_core": {:git, "https://github.com/astarte-platform/astarte_core.git", "ed0f13174a94de5f6107aa327b61e7697ca4a224", [tag: "v1.3.0-rc.1"]},
33
"astarte_data_access": {:git, "https://github.com/astarte-platform/astarte_data_access.git", "81800c1627c3ef2b33ad6254532b0a2e161054fa", [branch: "release-1.3"]},
44
"astarte_generators": {:git, "https://github.com/astarte-platform/astarte_generators.git", "0367eaefd08aa5b30d19d13ad0e2ab0745747ed7", []},
55
"bunt": {:hex, :bunt, "1.0.0", "081c2c665f086849e6d57900292b3a161727ab40431219529f13c4ddcf3e7a44", [:mix], [], "hexpm", "dc5f86aa08a5f6fa6b8096f0735c4e76d54ae5c9fa2c143e5a1fc7c1cd9bb6b5"},
@@ -20,7 +20,7 @@
2020
"jason": {:hex, :jason, "1.4.4", "b9226785a9aa77b6857ca22832cffa5d5011a667207eb2a0ad56adb5db443b8a", [:mix], [{:decimal, "~> 1.0 or ~> 2.0", [hex: :decimal, repo: "hexpm", optional: true]}], "hexpm", "c5eb0cab91f094599f94d55bc63409236a8ec69a21a67814529e8d5f6cc90b3b"},
2121
"mox": {:hex, :mox, "0.5.2", "55a0a5ba9ccc671518d068c8dddd20eeb436909ea79d1799e2209df7eaa98b6c", [:mix], [], "hexpm", "df4310628cd628ee181df93f50ddfd07be3e5ecc30232d3b6aadf30bdfe6092b"},
2222
"nimble_options": {:hex, :nimble_options, "1.1.1", "e3a492d54d85fc3fd7c5baf411d9d2852922f66e69476317787a7b2bb000a61b", [:mix], [], "hexpm", "821b2470ca9442c4b6984882fe9bb0389371b8ddec4d45a9504f00a66f650b44"},
23-
"protobuf": {:hex, :protobuf, "0.14.1", "9ac0582170df27669ccb2ef6cb0a3d55020d58896edbba330f20d0748881530a", [:mix], [{:jason, "~> 1.2", [hex: :jason, repo: "hexpm", optional: true]}], "hexpm", "39a9d49d346e3ed597e5ae3168a43d9603870fc159419617f584cdf6071f0e25"},
23+
"protobuf": {:hex, :protobuf, "0.16.0", "d1878725105d49162977cf3408ccc3eac4f3532e26e5a9e250f2c624175d10f6", [:mix], [{:jason, "~> 1.2", [hex: :jason, repo: "hexpm", optional: true]}], "hexpm", "f0d0d3edd8768130f24cc2cfc41320637d32c80110e80d13f160fa699102c828"},
2424
"skogsra": {:hex, :skogsra, "2.5.0", "57d57c15bb8356662177779cb10adf1272069eeb4f3c032bf7d71d522e726f06", [:mix], [{:jason, "~> 1.4", [hex: :jason, repo: "hexpm", optional: true]}, {:yamerl, "~> 0.10", [hex: :yamerl, repo: "hexpm", optional: true]}], "hexpm", "b7dfe23ef3f9999a96fa330b73363b3f48d68a7ca3eb98ab1f32cd888ef207ee"},
2525
"stream_data": {:hex, :stream_data, "1.2.0", "58dd3f9e88afe27dc38bef26fce0c84a9e7a96772b2925c7b32cd2435697a52b", [:mix], [], "hexpm", "eb5c546ee3466920314643edf68943a5b14b32d1da9fe01698dc92b73f89a9ed"},
2626
"telemetry": {:hex, :telemetry, "1.3.0", "fedebbae410d715cf8e7062c96a1ef32ec22e764197f70cda73d82778d61e7a2", [:rebar3], [], "hexpm", "7015fc8919dbe63764f4b4b87a95b7c0996bd539e0d499be6ec9d7f3875b79e6"},

0 commit comments

Comments
 (0)