Skip to content

Commit 9212b94

Browse files
fix
1 parent 9d56ce4 commit 9212b94

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

motoko/send_http_get/Makefile

+2-14
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,11 @@ all: build
33

44
.PHONY: build
55
.SILENT: build
6-
dfx canister create send_http_get_backend
7-
dfx build
8-
9-
.PHONY: install
10-
.SILENT: install
11-
install: build
12-
dfx canister install send_http_get_backend --mode reinstall --yes
13-
14-
15-
.PHONY: upgrade
16-
.SILENT: upgrade
17-
upgrade: build
18-
dfx canister install send_http_get_backend --mode=upgrade
6+
dfx deploy send_http_get_backend
197

208
.PHONY: test
219
.SILENT: test
22-
test: install
10+
test: build
2311
dfx canister call send_http_get_backend get_icp_usd_exchange \
2412
| grep '\[1682978460,5\.714,5\.718,5\.714,5\.714,243\.5678\]' && echo 'PASS'
2513

0 commit comments

Comments
 (0)