-
Notifications
You must be signed in to change notification settings - Fork 5
/
MakefileEc2.mk
54 lines (46 loc) · 2.24 KB
/
MakefileEc2.mk
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# This Makefile is meant to be used by people that do not usually work
# with Go source code. If you know what GOPATH is then you probably
# don't need to bother with make.
GORUN = env GO111MODULE=on go run
# in go-ethereum repo
build-bk-prod-morph-prod-mainnet-to-morph-geth:
if [ ! -d dist ]; then mkdir -p dist; fi
$(GORUN) build/ci.go install ./cmd/geth
cp build/bin/geth dist/
tar -czvf morph-geth.tar.gz dist
aws s3 cp morph-geth.tar.gz s3://morph-0582-morph-technical-department-mainnet-data/morph-setup/morph-geth.tar.gz
build-bk-prod-morph-prod-mainnet-to-morph-nccc-geth:
if [ ! -d dist ]; then mkdir -p dist; fi
$(GORUN) build/ci.go install ./cmd/geth
@echo "Done building."
cp build/bin/geth dist/
tar -czvf morph-nccc-geth.tar.gz dist
aws s3 cp morph-nccc-geth.tar.gz s3://morph-0582-morph-technical-department-mainnet-data/morph-setup/morph-nccc-geth.tar.gz
# build for holesky
build-bk-prod-morph-prod-testnet-to-morph-geth-holesky:
if [ ! -d dist ]; then mkdir -p dist; fi
$(GORUN) build/ci.go install ./cmd/geth
cp build/bin/geth dist/
tar -czvf morph-geth.tar.gz dist
aws s3 cp morph-geth.tar.gz s3://morph-0582-morph-technical-department-testnet-data/testnet/holesky/morph-setup/morph-geth.tar.gz
build-bk-prod-morph-prod-testnet-to-morph-nccc-geth-holesky:
if [ ! -d dist ]; then mkdir -p dist; fi
$(GORUN) build/ci.go install ./cmd/geth
@echo "Done building."
cp build/bin/geth dist/
tar -czvf morph-nccc-geth.tar.gz dist
aws s3 cp morph-nccc-geth.tar.gz s3://morph-0582-morph-technical-department-testnet-data/testnet/holesky/morph-setup/morph-nccc-geth.tar.gz
build-bk-test-morph-test-qanet-to-morph-geth-qanet:
if [ ! -d dist ]; then mkdir -p dist; fi
$(GORUN) build/ci.go install ./cmd/geth
@echo "Done building."
cp build/bin/geth dist/
tar -czvf morph-geth.tar.gz dist
aws s3 cp morph-geth.tar.gz s3://morph-7637-morph-technical-department-qanet-data/morph-setup/morph-geth.tar.gz
build-bk-test-morph-test-qanet-to-morph-nccc-geth-qanet:
if [ ! -d dist ]; then mkdir -p dist; fi
$(GORUN) build/ci.go install ./cmd/geth
@echo "Done building."
cp build/bin/geth dist/
tar -czvf morph-nccc-geth.tar.gz dist
aws s3 cp morph-nccc-geth.tar.gz s3://morph-7637-morph-technical-department-qanet-data/morph-setup/morph-nccc-geth.tar.gz