Skip to content

Commit

Permalink
change examples to use src instead of canisters
Browse files Browse the repository at this point in the history
  • Loading branch information
lastmjs committed Sep 27, 2023
1 parent f736f7e commit 4190e12
Show file tree
Hide file tree
Showing 34 changed files with 38 additions and 38 deletions.
18 changes: 9 additions & 9 deletions examples/composite_queries/dfx.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"canister1": {
"type": "custom",
"build": "npx azle canister1",
"root": "canisters/canister1",
"ts": "canisters/canister1/index.ts",
"candid": "canisters/canister1/index.did",
"root": "src/canister1",
"ts": "src/canister1/index.ts",
"candid": "src/canister1/index.did",
"wasm": ".azle/canister1/canister1.wasm",
"gzip": true,
"declarations": {
Expand All @@ -21,9 +21,9 @@
"canister2": {
"type": "custom",
"build": "npx azle canister2",
"root": "canisters/canister2",
"ts": "canisters/canister2/index.ts",
"candid": "canisters/canister2/index.did",
"root": "src/canister2",
"ts": "src/canister2/index.ts",
"candid": "src/canister2/index.did",
"wasm": ".azle/canister2/canister2.wasm",
"gzip": true,
"declarations": {
Expand All @@ -35,9 +35,9 @@
"canister3": {
"type": "custom",
"build": "npx azle canister3",
"root": "canisters/canister3",
"ts": "canisters/canister3/index.ts",
"candid": "canisters/canister3/index.did",
"root": "src/canister3",
"ts": "src/canister3/index.ts",
"candid": "src/canister3/index.did",
"wasm": ".azle/canister3/canister3.wasm",
"gzip": true,
"declarations": {
Expand Down
12 changes: 6 additions & 6 deletions examples/cross_canister_calls/dfx.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"canister1": {
"type": "custom",
"build": "npx azle canister1",
"root": "canisters/canister1",
"ts": "canisters/canister1/index.ts",
"candid": "canisters/canister1/index.did",
"root": "src/canister1",
"ts": "src/canister1/index.ts",
"candid": "src/canister1/index.did",
"wasm": ".azle/canister1/canister1.wasm",
"gzip": true,
"declarations": {
Expand All @@ -17,9 +17,9 @@
"canister2": {
"type": "custom",
"build": "npx azle canister2",
"root": "canisters/canister2",
"ts": "canisters/canister2/index.ts",
"candid": "canisters/canister2/index.did",
"root": "src/canister2",
"ts": "src/canister2/index.ts",
"candid": "src/canister2/index.did",
"wasm": ".azle/canister2/canister2.wasm",
"gzip": true,
"declarations": {
Expand Down
12 changes: 6 additions & 6 deletions examples/cycles/dfx.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"cycles": {
"type": "custom",
"build": "npx azle cycles",
"root": "canisters/cycles",
"ts": "canisters/cycles/index.ts",
"candid": "canisters/cycles/index.did",
"root": "src/cycles",
"ts": "src/cycles/index.ts",
"candid": "src/cycles/index.did",
"wasm": ".azle/cycles/cycles.wasm",
"gzip": true,
"declarations": {
Expand All @@ -16,9 +16,9 @@
"intermediary": {
"type": "custom",
"build": "npx azle intermediary",
"root": "canisters/intermediary",
"ts": "canisters/intermediary/index.ts",
"candid": "canisters/intermediary/index.did",
"root": "src/intermediary",
"ts": "src/intermediary/index.ts",
"candid": "src/intermediary/index.did",
"wasm": ".azle/intermediary/intermediary.wasm",
"gzip": true,
"declarations": {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
10 changes: 5 additions & 5 deletions examples/ledger_canister/dfx.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"ledger_canister": {
"type": "custom",
"build": "npx azle ledger_canister",
"root": "canisters/ledger_canister",
"ts": "canisters/ledger_canister/index.ts",
"candid": "canisters/ledger_canister/index.did",
"root": "src/ledger_canister",
"ts": "src/ledger_canister/index.ts",
"candid": "src/ledger_canister/index.did",
"wasm": ".azle/ledger_canister/ledger_canister.wasm",
"gzip": true,
"declarations": {
Expand All @@ -16,8 +16,8 @@
},
"icp_ledger": {
"type": "custom",
"candid": "canisters/icp_ledger/ledger.private.did",
"wasm": "canisters/icp_ledger/ledger.wasm"
"candid": "src/icp_ledger/ledger.private.did",
"wasm": "src/icp_ledger/ledger.wasm"
}
}
}
Binary file not shown.
12 changes: 6 additions & 6 deletions examples/notify_raw/dfx.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"canister1": {
"type": "custom",
"build": "npx azle canister1",
"root": "canisters/canister1",
"ts": "canisters/canister1/index.ts",
"candid": "canisters/canister1/index.did",
"root": "src/canister1",
"ts": "src/canister1/index.ts",
"candid": "src/canister1/index.did",
"wasm": ".azle/canister1/canister1.wasm",
"gzip": true,
"declarations": {
Expand All @@ -17,9 +17,9 @@
"canister2": {
"type": "custom",
"build": "npx azle canister2",
"root": "canisters/canister2",
"ts": "canisters/canister2/index.ts",
"candid": "canisters/canister2/index.did",
"root": "src/canister2",
"ts": "src/canister2/index.ts",
"candid": "src/canister2/index.did",
"wasm": ".azle/canister2/canister2.wasm",
"gzip": true,
"declarations": {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
12 changes: 6 additions & 6 deletions examples/rejections/dfx.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"rejections": {
"type": "custom",
"build": "npx azle rejections",
"root": "canisters/rejections",
"ts": "canisters/rejections/index.ts",
"candid": "canisters/rejections/index.did",
"root": "src/rejections",
"ts": "src/rejections/index.ts",
"candid": "src/rejections/index.did",
"wasm": ".azle/rejections/rejections.wasm",
"gzip": true,
"declarations": {
Expand All @@ -17,9 +17,9 @@
"some_canister": {
"type": "custom",
"build": "npx azle some_canister",
"root": "canisters/some_canister",
"ts": "canisters/some_canister/index.ts",
"candid": "canisters/some_canister/index.did",
"root": "src/some_canister",
"ts": "src/some_canister/index.ts",
"candid": "src/some_canister/index.did",
"wasm": ".azle/some_canister/some_canister.wasm",
"gzip": true,
"declarations": {
Expand Down
File renamed without changes.

0 comments on commit 4190e12

Please sign in to comment.