Commit 23e599af authored by suyanlong's avatar suyanlong

update makefile

parent 27e44da6
Pipeline #8005 failed with stages
...@@ -120,6 +120,8 @@ fmt_go: fmt_shell ## go fmt ...@@ -120,6 +120,8 @@ fmt_go: fmt_shell ## go fmt
fmt: fmt_proto fmt_shell ## go fmt fmt: fmt_proto fmt_shell ## go fmt
@go fmt ./... @go fmt ./...
@find . -name '*.go' -not -path "./vendor/*" | xargs goimports -l -w @find . -name '*.go' -not -path "./vendor/*" | xargs goimports -l -w
@gofumpt -l -w .
all: pb grpc all: pb grpc
...@@ -158,6 +160,8 @@ build-dep: ...@@ -158,6 +160,8 @@ build-dep:
@go install mvdan.cc/gofumpt@latest @go install mvdan.cc/gofumpt@latest
@go install mvdan.cc/sh/v3/cmd/shfmt@latest @go install mvdan.cc/sh/v3/cmd/shfmt@latest
@go install mvdan.cc/sh/v3/cmd/gosh@latest @go install mvdan.cc/sh/v3/cmd/gosh@latest
@go install mvdan.cc/unparam@latest
# @apt install clang-format or brew isntall clang-format # @apt install clang-format or brew isntall clang-format
# @apt install shellcheck or brew install shellcheck # @apt install shellcheck or brew install shellcheck
......
...@@ -5,13 +5,14 @@ import ( ...@@ -5,13 +5,14 @@ import (
"fmt" "fmt"
"io/ioutil" "io/ioutil"
rpcx "github.com/link33/sidecar/hub/client"
"github.com/link33/sidecar/internal/repo"
"github.com/link33/sidecar/model/constant"
"github.com/meshplus/bitxhub-kit/crypto/asym" "github.com/meshplus/bitxhub-kit/crypto/asym"
"github.com/meshplus/bitxhub-kit/types" "github.com/meshplus/bitxhub-kit/types"
"github.com/meshplus/bitxid" "github.com/meshplus/bitxid"
"github.com/urfave/cli" "github.com/urfave/cli"
rpcx "github.com/link33/sidecar/hub/client"
"github.com/link33/sidecar/internal/repo"
"github.com/link33/sidecar/model/constant"
) )
const ( const (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment