diff --git a/.travis.yml b/.travis.yml index a192fe5..c14aa67 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,6 +5,7 @@ rust: script: - if [ ! -d "./tree-sitter/target/release" ]; then bash ./scripts/setup-tree-sitter.sh; fi + - ./tree-sitter/target/release/tree-sitter --version - ./tree-sitter/target/release/tree-sitter test cache: diff --git a/scripts/generate-playground.js b/scripts/generate-playground.js index 790252e..589a6c3 100644 --- a/scripts/generate-playground.js +++ b/scripts/generate-playground.js @@ -52,5 +52,5 @@ console.log(tree.rootNode.toString()); ## License MIT © [Ika](https://github.com/ikatyang) -`.trim().replace(/`/g, '\\`') +`.trim() }); diff --git a/scripts/setup-tree-sitter.sh b/scripts/setup-tree-sitter.sh index bcfe93c..fdb32d3 100644 --- a/scripts/setup-tree-sitter.sh +++ b/scripts/setup-tree-sitter.sh @@ -1,4 +1,4 @@ -git clone https://github.com/ikatyang/tree-sitter --branch 0.15.9-custom --depth 1 +git clone https://github.com/ikatyang/tree-sitter --branch 0.15.10-custom --depth 1 cd tree-sitter git submodule update --init ./script/build-wasm