mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-23 21:29:49 +00:00
06ab29b93c
* Move radare2-shell-parser/tree-sitter into shlr * compile new shell parser by default, available with cfg.newshell variable * Add README for radare2-shell-parser * Improve CI * Add gitattributes file
14 lines
304 B
JavaScript
14 lines
304 B
JavaScript
try {
|
|
module.exports = require("./build/Release/tree_sitter_r2cmd_binding");
|
|
} catch (error) {
|
|
try {
|
|
module.exports = require("./build/Debug/tree_sitter_r2cmd_binding");
|
|
} catch (_) {
|
|
throw error
|
|
}
|
|
}
|
|
|
|
try {
|
|
module.exports.nodeTypeInfo = require("./src/node-types.json");
|
|
} catch (_) {}
|