include_lmdb_stat_tool (#1206)

This commit is contained in:
Alex Sharov 2020-10-08 14:11:36 +07:00 committed by GitHub
parent 9ff9a1a486
commit 79815e4298
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 1 deletions

View File

@ -19,7 +19,7 @@ ifeq ($(OS),Linux)
PROTOC_OS = linux
endif
all: tg hack tester rpctest state restapi pics rpcdaemon integration
all: tg hack tester rpctest state restapi pics rpcdaemon integration lmdb-tools
docker:
docker build -t turbo-geth:latest .
@ -99,6 +99,12 @@ headers:
@echo "Done building."
@echo "Run \"$(GOBIN)/integration\" to run headers download PoC."
lmdb-tools:
$(GOBUILD) -o $(GOBIN)/lmdb_stat github.com/ledgerwatch/lmdb-go/cmd/lmdb_stat
$(GOBUILD) -o $(GOBIN)/lmdb_copy github.com/ledgerwatch/lmdb-go/cmd/lmdb_copy
@echo "Done building."
@echo "Run \"$(GOBIN)/lmdb_stat -h\" to get info about lmdb file."
test: semantics/z3/build/libz3.a
$(GOTEST)

View File

@ -17,6 +17,8 @@ package main
import (
_ "github.com/fjl/gencodec"
_ "github.com/kevinburke/go-bindata"
_ "github.com/ledgerwatch/lmdb-go/cmd/lmdb_copy"
_ "github.com/ledgerwatch/lmdb-go/cmd/lmdb_stat"
_ "github.com/ugorji/go/codec/codecgen"
_ "golang.org/x/tools/cmd/stringer"
_ "google.golang.org/grpc/cmd/protoc-gen-go-grpc"