From c21cb47a54ab891fabbb1c9d58209392cf74cce4 Mon Sep 17 00:00:00 2001 From: Romain Paquet Date: Wed, 1 Oct 2025 15:57:16 +0200 Subject: [PATCH] deps: use tree-sitter-lila as cargo dep This will cause less trouble than a git submodule --- .gitmodules | 3 --- Cargo.lock | 1 + Cargo.toml | 3 ++- tree-sitter-lila | 1 - 4 files changed, 3 insertions(+), 5 deletions(-) delete mode 100644 .gitmodules delete mode 160000 tree-sitter-lila diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index 7815dc4..0000000 --- a/.gitmodules +++ /dev/null @@ -1,3 +0,0 @@ -[submodule "tree-sitter-lila"] - path = tree-sitter-lila - url = git@git.sr.ht:~rpqt/tree-sitter-lila diff --git a/Cargo.lock b/Cargo.lock index 3fa5834..8a3caed 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -718,6 +718,7 @@ dependencies = [ [[package]] name = "tree-sitter-lila" version = "0.0.1" +source = "git+https://git.sr.ht/~rpqt/tree-sitter-lila?branch=main#ef984491f7d650f910f65605bd07ad3bf34484b9" dependencies = [ "cc", "tree-sitter 0.20.10", diff --git a/Cargo.toml b/Cargo.toml index a0dfdff..099e507 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,7 +24,8 @@ anyhow = "1.0.86" [dependencies.tree-sitter-lila] version = "0.0.1" optional = true -path = "./tree-sitter-lila" +git = "https://git.sr.ht/~rpqt/tree-sitter-lila" +branch = "main" [dev-dependencies] pretty_assertions = "1.4.0" diff --git a/tree-sitter-lila b/tree-sitter-lila deleted file mode 160000 index ef98449..0000000 --- a/tree-sitter-lila +++ /dev/null @@ -1 +0,0 @@ -Subproject commit ef984491f7d650f910f65605bd07ad3bf34484b9