difftastic/vendored_parsers/tree-sitter-hack/binding.gyp

27 lines
544 B
Python

{
"targets": [
{
"target_name": "tree_sitter_hack_binding",
"include_dirs": [
"<!(node -e \"require('nan')\")",
"src"
],
"sources": [
"src/parser.c",
"bindings/node/binding.cc",
"src/scanner.cc"
],
"cflags_c": [
"-std=c99",
"-Wno-trigraphs"
],
"xcode_settings": {
# Augmented assignment coalesce ??= looks like a C trigraph. Ignore trigraphs.
"OTHER_CFLAGS": [
"-Wno-trigraphs"
]
}
}
]
}