.
This commit is contained in:
parent
e9ebc4457f
commit
e9420fe8e4
1 changed files with 2 additions and 2 deletions
4
do.ps1
4
do.ps1
|
|
@ -227,7 +227,7 @@ switch ($command) {
|
|||
Invoke-Expression $binary | Write-Host;
|
||||
}
|
||||
}
|
||||
"run-wasm" {
|
||||
{($_ -eq "run-wasm") -or ($_ -eq "rw")} {
|
||||
if (-not (Test-Path (Join-Path $OUT_DIR "p2601.wasm"))) {
|
||||
&"./do.ps1" build-cross wasm32-emscripten;
|
||||
}
|
||||
|
|
@ -252,7 +252,7 @@ switch ($command) {
|
|||
Write-Host " build (b) compiles the program natively";
|
||||
Write-Host " build-cross (bc) <target> cross-compiles the program for the target triple (ex. x86_64-windows-gnu)";
|
||||
Write-Host " run (r) compiles and runs the native program";
|
||||
Write-Host " run-wasm compiles and runs the wasm program";
|
||||
Write-Host " run-wasm (rw) compiles and runs the wasm program";
|
||||
Write-Host " clean (c) cleans up all build artifacts";
|
||||
Write-Host " list-targets (lt) lists all cross-compliation targets";
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in a new issue