mirror of https://github.com/Wilfred/difftastic/
27 lines
544 B
Python
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"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|