Skip to content

Commit

Permalink
fix: add src files
Browse files Browse the repository at this point in the history
  • Loading branch information
WhyThat committed Feb 21, 2024
1 parent 9627569 commit 1ffa2f1
Show file tree
Hide file tree
Showing 7 changed files with 157,096 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
node_modules/
src/*
!src/scanner.c
log.html
binding.gyp
test_wild/
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ include = [
path = "bindings/rust/lib.rs"

[dependencies]
tree-sitter = "~0.20.0"
tree-sitter = "~0.20.10"

[build-dependencies]
cc = "1.0"
3 changes: 2 additions & 1 deletion bindings/rust/build.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
fn main() {
let src_dir = std::path::Path::new("src");
let root_dir = std::path::Path::new(".");
let src_dir = root_dir.join("src");

let mut c_config = cc::Build::new();
c_config.include(&src_dir);
Expand Down
Loading

0 comments on commit 1ffa2f1

Please sign in to comment.