mirror of
https://github.com/Magnus167/msyrs.git
synced 2025-08-20 12:40:00 +00:00
16 lines
309 B
PowerShell
16 lines
309 B
PowerShell
# uv pip install maturin
|
|
|
|
try {
|
|
maturin --help > $null
|
|
} catch {
|
|
Write-Error "Failed to run maturin --help: $_"
|
|
exit 1
|
|
}
|
|
|
|
# copy ./src/msyrs.pyi to ./msyrs.pyi
|
|
Copy-Item -Path ./src/msyrs.pyi -Destination ./msyrs.pyi
|
|
|
|
maturin develop --release
|
|
|
|
# delete the pyi file
|
|
Remove-Item -Path ./msyrs.pyi |