From 0cafe085c4f4213d4aa307c464ecc6884af03f15 Mon Sep 17 00:00:00 2001 From: John Date: Fri, 19 Apr 2024 03:09:35 -0500 Subject: [PATCH] pratt: Add Conlang as an explicit dependency --- .gitmodules | 3 +++ Cargo.toml | 6 +++--- dep/Conlang | 1 + 3 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 .gitmodules create mode 160000 dep/Conlang diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..6cf86bc --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "dep/Conlang"] + path = dep/Conlang + url = gitea@git.soft.fish:j/Conlang.git diff --git a/Cargo.toml b/Cargo.toml index 473c4a8..b7a61cb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,6 +4,6 @@ version = "0.1.0" edition = "2021" [dependencies] -cl-lexer = { path = "../conlang/cl-lexer" } -cl-token = { path = "../conlang/cl-token" } -cl-repl = { path = "../conlang/cl-repl" } +cl-lexer = { path = "./dep/Conlang/cl-lexer", version = "0.0.5" } +cl-token = { path = "./dep/Conlang/cl-token", version = "0.0.5" } +cl-repl = { path = "./dep/Conlang/cl-repl", version = "0.0.5" } diff --git a/dep/Conlang b/dep/Conlang new file mode 160000 index 0000000..00d72b8 --- /dev/null +++ b/dep/Conlang @@ -0,0 +1 @@ +Subproject commit 00d72b823a82343c68e0df693d5f575cd7dca7c9