go get does not support git submodules

This commit is contained in:
adman
2026-03-22 19:48:21 +01:00
parent 2802cc36ce
commit 2d1e8ef4f6
3 changed files with 7 additions and 4 deletions
-3
View File
@@ -1,3 +0,0 @@
[submodule "data/minecraft-data"]
path = data/minecraft-data
url = git@github.com:PrismarineJS/minecraft-data.git
+7
View File
@@ -0,0 +1,7 @@
#!/usr/bin/env sh
# Go get / install does not clone git submodules so we have to do it like this
rm -rf minecraft-data/
git clone --depth 1 git@github.com:PrismarineJS/minecraft-data.git
rm -rf minecraft-data/.git/