Skip to content

Commit 850d304

Browse files
committed
forgot Makefile
1 parent 81dee2d commit 850d304

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

motoko/evm_block_explorer/Makefile

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
.PHONY: all
2+
all: build
3+
4+
.PHONY: node_modules
5+
.SILENT: node_modules
6+
node_modules:
7+
npm install
8+
9+
.PHONY: build
10+
.SILENT: build
11+
build: node_modules
12+
dfx canister create --all
13+
dfx build
14+
15+
.PHONY: install
16+
.SILENT: install
17+
install: build
18+
dfx canister install --all
19+
20+
.PHONY: upgrade
21+
.SILENT: upgrade
22+
upgrade: build
23+
dfx canister install --all --mode=upgrade
24+
25+
.PHONY: clean
26+
.SILENT: clean
27+
clean:
28+
rm -fr .dfx

0 commit comments

Comments
 (0)