Skip to content
This repository has been archived by the owner on Dec 11, 2024. It is now read-only.

Commit

Permalink
mkdirs + task result markers + allow legacy wit + schema fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
noise64 committed Dec 7, 2024
1 parent b45826c commit 1ead76b
Show file tree
Hide file tree
Showing 8 changed files with 297 additions and 59 deletions.
35 changes: 34 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions wasm-rpc-stubgen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ walkdir = "2.5.0"
wit-bindgen-rust = "=0.26.0"
wit-encoder = "=0.221.2"
wit-parser = "=0.221.2"
shlex = "1.3.0"
blake3 = "1.5.5"


[dev-dependencies]
Expand Down
18 changes: 16 additions & 2 deletions wasm-rpc-stubgen/schema/golem-wasm-rpc.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,13 @@
"command": {
"type": "string",
"description": "External command to execute"
},
"mkdirs": {
"type": "array",
"description": "List of directories that should be created before running the command",
"items": {
"type": "string"
}
}
},
"additionalProperties": false,
Expand All @@ -241,14 +248,21 @@
"type": "string",
"description": "External command to execute"
},
"inputs": {
"mkdirs": {
"type": "array",
"description": "List of directories that should be created before running the command",
"items": {
"type": "string"
}
},
"sources": {
"type": "array",
"description": "Inputs (paths and globs) for the external command",
"items": {
"type": "string"
}
},
"outputs": {
"targets": {
"type": "array",
"description": "Output (paths and globs) for the external command",
"items": {
Expand Down
Loading

0 comments on commit 1ead76b

Please sign in to comment.