helper scripts

This commit is contained in:
qm210
2024-10-22 01:07:58 +02:00
parent 9678108fd1
commit 40ae9c98fe
3 changed files with 33 additions and 1 deletions

View File

@ -0,0 +1,19 @@
cd build
ninja sointu
cd ..
if ($LASTEXITCODE -eq 0) {
if ($args -contains "native") {
Write-Host "Render with ASM synth"
go run -tags=native .\cmd\sointu-play\main.go -w .\examples\envelopexp_dev.yml
} elseif ($args -contains "go") {
Write-Host "Render with GO synth"
go run .\cmd\sointu-play\main.go -w .\examples\envelopexp_dev.yml
} else {
Write-Host "specify either ""native"" or ""go"" argument."
}
}