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

Commit

Permalink
Merge pull request #74 from golemcloud/wasm-rpc-stubgen-update
Browse files Browse the repository at this point in the history
Updated wasm-rpc-stubgen so it generates makefile tasks with "golem-cli stubgen" prefix
  • Loading branch information
vigoo authored Mar 3, 2024
2 parents 0478579 + 01f3201 commit bced6ed
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ derive_more = "0.99.17"
futures-util = "0.3.30"
golem-client = "0.0.63"
golem-examples = "0.1.11"
golem-wasm-rpc-stubgen = { version = "0.0.9", optional = true }
golem-wasm-rpc-stubgen = { version = "0.0.10", optional = true }
http = "1.0.0"
indoc = "2.0.4"
itertools = "0.11.0"
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ async fn async_main(cmd: GolemCommand) -> Result<(), Box<dyn std::error::Error>>
.map_err(|err| GolemError(format!("{err}")))
.map(|res| GolemResult::Ok(Box::new(res))),
golem_wasm_rpc_stubgen::Command::InitializeWorkspace(args) => {
golem_wasm_rpc_stubgen::initialize_workspace(args)
golem_wasm_rpc_stubgen::initialize_workspace(args, "golem-cli", &["stubgen"])
.map_err(|err| GolemError(format!("{err}")))
.map(|res| GolemResult::Ok(Box::new(res)))
}
Expand Down

0 comments on commit bced6ed

Please sign in to comment.