wasi:cli/run

This commit is contained in:
2026-06-29 15:48:07 -06:00
parent bf5990c880
commit cd56b176af
7 changed files with 110 additions and 12 deletions
+2 -1
View File
@@ -25,7 +25,8 @@ main = shakeArgs shakeOptions $ do
[wit] [wat] "-o" [out]
phony "run" $ do
need ["hello.component.wasm"]
cmd_ "wasmtime run --invoke hello() hello.component.wasm"
-- cmd_ "wasmtime run --invoke hello() hello.component.wasm"
cmd_ "wasmtime run hello.component.wasm"
phony "clean" $ do
removeFilesAfter ".shake" ["//*"]
liftIO $ removeFiles "." ["*.wasm"]