mirror of
https://github.com/soconnor0919/tree-sitter-vm.git
synced 2026-02-04 15:56:38 -05:00
Initial commit: Tree-sitter grammar for VM language
This commit is contained in:
32
binding.gyp
Normal file
32
binding.gyp
Normal file
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"targets": [
|
||||
{
|
||||
"target_name": "tree_sitter_vm_binding",
|
||||
"include_dirs": [
|
||||
"<!(node -e \"console.log(require('node-addon-api').include)\")",
|
||||
"src"
|
||||
],
|
||||
"sources": [
|
||||
"bindings/node/binding.cc",
|
||||
"src/parser.c"
|
||||
],
|
||||
"conditions": [
|
||||
["OS!='win'", {
|
||||
"cflags_c": [
|
||||
"-std=c99",
|
||||
]
|
||||
}]
|
||||
],
|
||||
"dependencies": [
|
||||
"<!(node -e \"console.log(require('node-addon-api').gyp)\")"
|
||||
],
|
||||
"cflags": [
|
||||
"-Wall",
|
||||
"-Wextra"
|
||||
],
|
||||
"defines": [
|
||||
"NAPI_DISABLE_CPP_EXCEPTIONS"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user