We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e16b61e commit 355d7ddCopy full SHA for 355d7dd
generate-grammars/generate-mozcpp.sh
@@ -12,7 +12,7 @@ TS_CPP_CRATE="tree-sitter-cpp"
12
JSON_CRATE_FILENAME=".cargo_vcs_info.json"
13
14
# Get the current tree-sitter-cpp crate version from the tree-sitter-mozcpp grammar
15
-TS_CPP_VERSION=`grep tree-sitter-mozcpp Cargo.toml | cut -f2 -d "," | cut -f2 -d "=" | tr -d ' ' | tr -d } | tr -d \"`
+TS_CPP_VERSION=`grep $TS_CPP_CRATE Cargo.toml | cut -f2 -d "," | cut -f2 -d "=" | tr -d ' ' | tr -d } | tr -d \"`
16
17
# Name assigned to the compressed binary crate downloaded from crates.io
18
CRATE_OUTPUT="$TS_CPP_CRATE-download.gz"
0 commit comments