From 32e5846b5cd448ee0ee530ea176f2df44d139dec Mon Sep 17 00:00:00 2001 From: Bo Lopker Date: Tue, 28 Jan 2025 13:58:36 -0800 Subject: [PATCH] Use 'rev' for Spellbook version --- Cargo.lock | 4 ++-- Makefile | 4 ++-- crates/codebook/Cargo.toml | 2 +- examples/example.html | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index cb2ee16..e86d5d4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -235,7 +235,7 @@ dependencies = [ "regex", "serde", "serde_json", - "spellbook 0.2.0 (git+https://github.com/helix-editor/spellbook.git#b6c31ea)", + "spellbook 0.2.0 (git+https://github.com/helix-editor/spellbook.git?rev=b6c31ea)", "streaming-iterator", "tempfile", "tokio", @@ -1113,7 +1113,7 @@ dependencies = [ [[package]] name = "spellbook" version = "0.2.0" -source = "git+https://github.com/helix-editor/spellbook.git#b6c31ea#b6c31ea767443437e44ddd3786318202d8a157ec" +source = "git+https://github.com/helix-editor/spellbook.git?rev=b6c31ea#b6c31ea767443437e44ddd3786318202d8a157ec" dependencies = [ "ahash", "hashbrown 0.15.2", diff --git a/Makefile b/Makefile index dab2c2c..c05c915 100644 --- a/Makefile +++ b/Makefile @@ -6,10 +6,10 @@ test: cargo test -- --test-threads=20 build: generate_word_list - cd codebook-lsp && cargo build + cd crates/codebook-lsp && cargo build build-release: generate_word_list - cd codebook-lsp && cargo build --release + cd crates/codebook-lsp && cargo build --release integration_test: build cd integration_tests && bun test diff --git a/crates/codebook/Cargo.toml b/crates/codebook/Cargo.toml index 06eeb17..b8ad52d 100644 --- a/crates/codebook/Cargo.toml +++ b/crates/codebook/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" [dependencies] lazy_static = "1.5.0" regex = "1.11.1" -spellbook = { git = "https://github.com/helix-editor/spellbook.git#b6c31ea" } +spellbook = { git = "https://github.com/helix-editor/spellbook.git", rev = "b6c31ea" } tree-sitter = "<0.25.0" tree-sitter-css = "<0.25.0" tree-sitter-rust = "<0.25.0" diff --git a/examples/example.html b/examples/example.html index bb61bdb..35c2132 100644 --- a/examples/example.html +++ b/examples/example.html @@ -2,7 +2,7 @@ - Document + Documentt Spelin sor good. Wolrd