Difficult-Rocket/build_rs.ps1

27 lines
486 B
PowerShell
Raw Normal View History

2023-01-31 22:07:18 +08:00
Set-Location .\libs\Difficult_Rocket_rs\src
2023-02-12 12:26:18 +08:00
Write-Output $args[0]
$do = 0
if ("38" -notin $args -and "39" -notin $args -and "310" -notin $args -and "311" -notin $args) {
$do = 1
}
if ($do -or "38" -in $args) {
python3.8 setup.py build
}
if ($do -or "39" -in $args) {
python3.9 setup.py build
}
if ($do -or "310" -in $args) {
python3.10 setup.py build
}
if ($do -or "311" -in $args) {
python3.11 setup.py build
}
2023-01-31 22:07:18 +08:00
2023-02-25 17:25:18 +08:00
python3.10 post_build.py
2023-01-31 22:07:18 +08:00
Set-Location ..\..\..\