Skip to content

Commit 513c076

Browse files
committed
fix backend_only
1 parent 078ac16 commit 513c076

File tree

2 files changed

+4
-14
lines changed

2 files changed

+4
-14
lines changed

motoko/backend_only/Makefile

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,9 @@
11
.PHONY: all
22
all: build
33

4-
.PHONY: node_modules
5-
.SILENT: node_modules
6-
node_modules:
7-
npm install
8-
94
.PHONY: build
105
.SILENT: build
11-
build: node_modules
6+
build:
127
dfx canister create --all
138
dfx build
149

rust/backend_only/Makefile

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,9 @@
11
.PHONY: all
22
all: build
33

4-
.PHONY: node_modules
5-
.SILENT: node_modules
6-
node_modules:
7-
npm install
8-
94
.PHONY: build
105
.SILENT: build
11-
build: node_modules
6+
build:
127
dfx canister create --all
138
dfx build
149

@@ -25,8 +20,8 @@ upgrade: build
2520
.PHONY: test
2621
.SILENT: test
2722
test: install
28-
dfx canister call backend get_leaderboard \
29-
| grep '(vec {})' && echo 'PASS'
23+
dfx canister call backend greet '("world")' \
24+
| grep '("Hello, world!")' && echo 'PASS'
3025

3126
.PHONY: clean
3227
.SILENT: clean

0 commit comments

Comments
 (0)