From f37dd8d9f636d312614d9459802aab0847548c3a Mon Sep 17 00:00:00 2001 From: Marin Ivanov Date: Thu, 4 Sep 2025 01:03:48 +0300 Subject: use submodule for meshstastic-go --- .gitmodules | 4 ++++ go.mod | 2 +- modules/meshtastic-go | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .gitmodules create mode 160000 modules/meshtastic-go diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..6671b6e --- /dev/null +++ b/.gitmodules @@ -0,0 +1,4 @@ +[submodule "modules/meshtastic-go"] + path = modules/meshtastic-go + url = ../meshtastic-go/ + branch = develop diff --git a/go.mod b/go.mod index c6d5b18..1426655 100644 --- a/go.mod +++ b/go.mod @@ -60,4 +60,4 @@ require ( golang.org/x/text v0.26.0 // indirect ) -replace github.com/meshnet-gophers/meshtastic-go v0.1.7 => ../meshtastic-go +replace github.com/meshnet-gophers/meshtastic-go v0.1.7 => ./modules/meshtastic-go diff --git a/modules/meshtastic-go b/modules/meshtastic-go new file mode 160000 index 0000000..09c0410 --- /dev/null +++ b/modules/meshtastic-go @@ -0,0 +1 @@ +Subproject commit 09c04108a0cb7020b9016bcef9bfcc34da325747 -- cgit v1.2.3