Skip to content

Commit

Permalink
restore apps
Browse files Browse the repository at this point in the history
  • Loading branch information
miraclx committed Nov 21, 2024
1 parent c92a5b6 commit 64b0568
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
2 changes: 2 additions & 0 deletions Cargo.lock

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

3 changes: 2 additions & 1 deletion apps/gen-ext/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ version = "0.1.0"
crate-type = ["cdylib"]

[dependencies]
calimero-sdk = {path = "../../crates/sdk"}
calimero-sdk = { path = "../../crates/sdk" }
calimero-sdk-near = { path = "../../crates/sdk/libs/near" }
calimero-storage = { path = "../../crates/storage" }
1 change: 1 addition & 0 deletions apps/only-peers/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ crate-type = ["cdylib"]

[dependencies]
calimero-sdk = { path = "../../crates/sdk" }
calimero-storage = { path = "../../crates/storage" }
2 changes: 1 addition & 1 deletion crates/sdk/macros/src/logic/method.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ impl ToTokens for PublicLogicMethod<'_> {
call = quote_spanned! {ret.ty.span()=>
let output = #call;
let output = {
#[expect(unused_imports)]
#[allow(unused_imports)]
use ::calimero_sdk::__private::IntoResult;
match ::calimero_sdk::__private::WrappedReturn::new(output)
.into_result()
Expand Down
5 changes: 2 additions & 3 deletions scripts/build-all-apps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ cd "$(dirname $0)"

BUILD_SCRIPTS=(
"../apps/kv-store/build.sh"
# todo! update to use CRDTs
# "../apps/gen-ext/build.sh"
# "../apps/only-peers/build.sh"
"../apps/gen-ext/build.sh"
"../apps/only-peers/build.sh"
)

run_script() {
Expand Down

0 comments on commit 64b0568

Please sign in to comment.