Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions pub-sub/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
include ../*.mk

.PHONY: all motoko rust build perf
.PHONY: all motoko rust azle build perf
all: build perf

motoko:
Expand All @@ -9,7 +9,10 @@ motoko:
rust:
$(call build,rust)

build: motoko rust
azle:
$(call build,azle)

build: motoko rust azle

perf:
$(call perf_two,pub-sub,motoko/perf.sh,rust/perf.sh)
$(call perf_three,pub-sub,motoko/perf.sh,rust/perf.sh,azle/perf.sh)
20 changes: 20 additions & 0 deletions pub-sub/azle/dfx.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"canisters": {
"pub": {
"type": "custom",
"main": "src/pub.ts",
"candid": "src/pub.did",
"build": "npx azle pub",
"wasm": ".azle/pub/pub.wasm",
"gzip": false
},
"sub": {
"type": "custom",
"main": "src/sub.ts",
"candid": "src/sub.did",
"build": "npx azle sub",
"wasm": ".azle/sub/sub.wasm",
"gzip": false
}
}
}
Loading