From 2f8c94087dd1d48b9b13ecf6974cec69a2d6a818 Mon Sep 17 00:00:00 2001 From: Ika Date: Mon, 14 Oct 2019 16:00:00 +0800 Subject: [PATCH] chore: upgrade to tree-sitter-cli@0.15.10 --- .travis.yml | 1 + scripts/generate-playground.js | 2 +- scripts/setup-tree-sitter.sh | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) 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