Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit f8b43c6

Browse files
update binding.gyp
1 parent 94bdab2 commit f8b43c6

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

‎binding.gyp

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,18 @@
22
"targets": [
33
{
44
"target_name": "tree_sitter_rescript_binding",
5-
"dependencies": [
6-
"<!(node -p \"require('node-addon-api').targets\"):node_addon_api_except",
7-
],
85
"include_dirs": [
9-
"src",
6+
"<!(node -e \"require('nan')\")",
7+
"src"
108
],
119
"sources": [
1210
"bindings/node/binding.cc",
1311
"src/parser.c",
14-
# NOTE: if your language has an external scanner, add it here.
12+
"src/scanner.c",
1513
],
1614
"cflags_c": [
17-
"-std=c11",
18-
],
15+
"-std=c99",
16+
]
1917
}
2018
]
2119
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /