-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
32 lines (26 loc) · 829 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
build: .make .make/yarndeps .make/solidity .make/solgen .make/keystore
go install
clean :
rm -rf $(GOPATH)/bin/orbit-toolkit
rm -rf .make
.make/yarndeps: nitro-contracts/package.json nitro-contracts/yarn.lock .make
yarn --cwd nitro-contracts install
yarn --cwd token-bridge-contracts install
yarn --cwd upgrade-executor install
yarn --cwd l1-l3-teleport-contracts install
@touch $@
.make/solidity: nitro-contracts/src/*/*.sol .make/yarndeps .make
yarn --cwd nitro-contracts build
yarn --cwd token-bridge-contracts build
yarn --cwd upgrade-executor prepublishOnly
yarn --cwd l1-l3-teleport-contracts prepublishOnly
@touch $@
.make/solgen: solgen/gen.go .make/solidity .make
mkdir -p solgen/go
mkdir -p solgen/abi
go run solgen/gen.go
@touch $@
.make/keystore: .make
mkdir -p keystore
.make:
mkdir .make