chore(build): Build-LuaTiktoken.ps1 (#243)

This commit is contained in:
Hanchin Hsieh
2024-08-27 00:03:54 +08:00
committed by GitHub
parent db1f1efb27
commit 3d3a249119

View File

@@ -11,7 +11,7 @@ function Build-FromSource($feature) {
}
$tempDir = Join-Path $BuildDir "lua-tiktoken-temp"
git clone https://github.com/gptlang/lua-tiktoken.git $tempDir
git clone --branch v0.2.2 --depth 1 https://github.com/gptlang/lua-tiktoken.git $tempDir
Push-Location $tempDir
cargo build --features=$feature