From d1697ee1bc89a1b78f0418fc4aa4f489c16494da Mon Sep 17 00:00:00 2001 From: Freddie Gilbraith Date: Wed, 22 May 2024 14:30:25 +0100 Subject: [PATCH] update binding.gyp --- binding.gyp | 2 +- binding.gyp.json | 10 ++++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/binding.gyp b/binding.gyp index a904b42..113852d 100644 --- a/binding.gyp +++ b/binding.gyp @@ -11,7 +11,7 @@ "sources": [ "bindings/node/binding.cc", "src/parser.c", - # NOTE: if your language has an external scanner, add it here. + "src/scanner.c", ], "cflags_c": [ "-std=c11", diff --git a/binding.gyp.json b/binding.gyp.json index 9bc59f9..113852d 100644 --- a/binding.gyp.json +++ b/binding.gyp.json @@ -2,9 +2,11 @@ "targets": [ { "target_name": "tree_sitter_rescript_binding", + "dependencies": [ + "