Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
plugin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
link33
plugin
Commits
93b1ea17
Commit
93b1ea17
authored
Sep 04, 2019
by
linj
Committed by
vipwzw
Sep 05, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix Makefile: use go list get module dir
parent
42babffe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
Makefile
Makefile
+2
-5
No files found.
Makefile
View file @
93b1ea17
...
@@ -8,11 +8,8 @@ export GO111MODULE=on
...
@@ -8,11 +8,8 @@ export GO111MODULE=on
CLI
:=
build/chain33-cli
CLI
:=
build/chain33-cli
SRC_CLI
:=
github.com/33cn/plugin/cli
SRC_CLI
:=
github.com/33cn/plugin/cli
APP
:=
build/chain33
APP
:=
build/chain33
CHAIN33
=
github.com/33cn/chain33
export
CHAIN33_PATH
=
$(
shell
go list
-f
{{
.Dir
}}
github.com/33cn/chain33
)
CHAIN33_VERSION
=
$(
shell
nl
go.mod |grep
"github.com/33cn/chain33"
|awk
'{print $$3}'
)
export
PLUGIN_PATH
=
$(
shell
go list
-f
{{
.Dir
}}
github.com/33cn/plugin
)
GO_PATH
=
$(
shell
go
env
GOPATH
)
export
CHAIN33_PATH
=
${
GO_PATH
}
/pkg/mod/github.com/33cn/chain33@
${
CHAIN33_VERSION
}
export
PLUGIN_PATH
=
${
GO_PATH
}
/src/github.com/33cn/plugin
BUILD_FLAGS
=
-ldflags
"-X
${
CHAIN33_PATH
}
/common/version.GitCommit=
`
git rev-parse
--short
=
8 HEAD
`
"
BUILD_FLAGS
=
-ldflags
"-X
${
CHAIN33_PATH
}
/common/version.GitCommit=
`
git rev-parse
--short
=
8 HEAD
`
"
LDFLAGS
:=
-ldflags
"-w -s"
LDFLAGS
:=
-ldflags
"-w -s"
PKG_LIST_VET
:=
`
go list ./... |
grep
-v
"vendor"
|
grep
-v
plugin/dapp/evm/executor/vm/common/crypto/bn256
`
PKG_LIST_VET
:=
`
go list ./... |
grep
-v
"vendor"
|
grep
-v
plugin/dapp/evm/executor/vm/common/crypto/bn256
`
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment