Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ release:

builds:
- id: darwin-amd64
main: ./cmd/geth
main: ./cmd/cli
binary: bor
goos:
- darwin
Expand All @@ -22,7 +22,7 @@ builds:
-s -w

- id: darwin-arm64
main: ./cmd/geth
main: ./cmd/cli
binary: bor
goos:
- darwin
Expand All @@ -37,7 +37,7 @@ builds:
-s -w

- id: linux-amd64
main: ./cmd/geth
main: ./cmd/cli
binary: bor
goos:
- linux
Expand All @@ -53,7 +53,7 @@ builds:
-s -w -extldflags "-static"

- id: linux-arm64
main: ./cmd/geth
main: ./cmd/cli
binary: bor
goos:
- linux
Expand Down
12 changes: 2 additions & 10 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,8 @@ GORUN = env GO111MODULE=on go run
GOPATH = $(shell go env GOPATH)

bor:
$(GORUN) build/ci.go install ./cmd/geth
mkdir -p $(GOPATH)/bin/
cp $(GOBIN)/geth $(GOBIN)/bor
cp $(GOBIN)/* $(GOPATH)/bin/

bor-all:
$(GORUN) build/ci.go install
mkdir -p $(GOPATH)/bin/
cp $(GOBIN)/geth $(GOBIN)/bor
cp $(GOBIN)/* $(GOPATH)/bin/
go build -o $(GOBIN)/bor ./cmd/cli/main.go

protoc:
protoc --go_out=. --go-grpc_out=. ./internal/cli/server/proto/*.proto
Expand Down Expand Up @@ -164,7 +156,7 @@ geth-windows-amd64:
@ls -ld $(GOBIN)/geth-windows-* | grep amd64

PACKAGE_NAME := github.com/maticnetwork/bor
GOLANG_CROSS_VERSION ?= v1.17.2
GOLANG_CROSS_VERSION ?= v1.17.6

.PHONY: release-dry-run
release-dry-run:
Expand Down
12 changes: 0 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,6 @@ them using your favourite package manager. Once the dependencies are installed,
$ make bor
```

- or, to build the full suite of utilities:

```shell
$ make bor-all
```

### Make awesome changes!

1. Create new branch for your changes
Expand Down Expand Up @@ -113,12 +107,6 @@ them using your favourite package manager. Once the dependencies are installed,
<hr style="margin-top: 3em; margin-bottom: 3em;">


Build the beta client:

```shell
go build -o bor-beta command/*.go
```

## License

The go-ethereum library (i.e. all code outside of the `cmd` directory) is licensed under the
Expand Down
2 changes: 1 addition & 1 deletion builder/files/bor.service
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[Service]
Restart=on-failure
RestartSec=5s
ExecStart=/usr/local/bin/bor \
ExecStart=/usr/local/bin/bor server \
--bor-mumbai \
Comment thread
manav2401 marked this conversation as resolved.
Outdated
# --bor-mainnet \
--datadir /var/lib/bor/data \
Expand Down