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 3d2a9d0 commit cd2a887Copy full SHA for cd2a887
build.ps1
@@ -229,6 +229,8 @@ if ($null -ne $packageType) {
229
## Test if tree-sitter is installed
230
if ($null -eq (Get-Command tree-sitter -ErrorAction Ignore)) {
231
Write-Verbose -Verbose "tree-sitter not found, installing..."
232
+ ${env:CARGO_SOURCE_crates-io_REPLACE_WITH} = 'CRATESIO'
233
+ $env:CARGO_REGISTRIES_CRATESIO_INDEX = 'sparse+https://index.crates.io/'
234
cargo install tree-sitter-cli --config .cargo/config.toml
235
if ($LASTEXITCODE -ne 0) {
236
throw "Failed to install tree-sitter-cli"
0 commit comments