Skip to content

Commit

Permalink
workaround for geth build
Browse files Browse the repository at this point in the history
  • Loading branch information
user authored and user committed Aug 3, 2023
1 parent 72cd697 commit 9abc26c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions l2geth/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,20 @@ GOBIN = ./build/bin
GO ?= latest
GORUN = env GO111MODULE=on go run

# workaround for datalayr, remove in the future
geth:
@echo "exclude github.com/Layr-Labs/datalayr/common v0.0.0" >> go.mod
@echo "exclude github.com/Layr-Labs/datalayr/lib/merkzg v0.0.0" >> go.mod
$(GORUN) build/ci.go install ./cmd/geth
@echo "Done building."
@echo "Run \"$(GOBIN)/geth\" to launch geth."
@sed -i.a '/^exclude.*datalayr/d' go.mod && rm go.mod.a

all:
@echo "exclude github.com/Layr-Labs/datalayr/common v0.0.0" >> go.mod
@echo "exclude github.com/Layr-Labs/datalayr/lib/merkzg v0.0.0" >> go.mod
$(GORUN) build/ci.go install
@sed -i.a '/^exclude.*datalayr/d' go.mod && rm go.mod.a

android:
$(GORUN) build/ci.go aar --local
Expand Down

0 comments on commit 9abc26c

Please sign in to comment.