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
2600ac9f
Commit
2600ac9f
authored
Nov 09, 2018
by
king wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update Make file and readme
parent
25235352
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
15 deletions
+9
-15
Makefile
Makefile
+3
-1
README.md
README.md
+6
-14
No files found.
Makefile
View file @
2600ac9f
...
...
@@ -8,7 +8,7 @@ build:vendor
go build
-i
-o
chain33
go build
-i
-o
chain33-cli gitlab.33.cn/chain33/plugin/cli
update
vendor
:
update
:
rm
-rf
vendor/
${
CHAIN33
}
git clone
--depth
1
-b
master https://
${
CHAIN33
}
.git vendor/
${
CHAIN33
}
rm
-rf
vendor/
${
CHAIN33
}
/.git
...
...
@@ -17,6 +17,8 @@ updatevendor:
govendor init
go build
-i
-o
tool gitlab.33.cn/chain33/plugin/vendor/gitlab.33.cn/chain33/chain33/cmd/tools
./tool import
--path
"plugin"
--packname
"gitlab.33.cn/chain33/plugin/plugin"
--conf
""
updatevendor
:
govendor add +e
govendor fetch
-v
+m
...
...
README.md
View file @
2600ac9f
bityuan
系统
chain33 官方插件
系统
### 安装
...
...
@@ -11,21 +11,13 @@ go get -u -v github.com/kardianos/govendor
#### 支持make file的平台
```
go get gitlab.33.cn/chain33/bityuan
make
```
就可以完成编译安装
#### 不支持的平台,可以手工执行下面的命令
## 注意:
从头开始安装vendor 有非常大的难度,主要问题是带宽 和 翻墙问题
为了解决包依赖等问题,我们直接提供了vendor目录。
```
go get gitlab.33.cn/chain33/bityuan
govendor init
govendor fetch +m
govendor add +e
go build -i -o tool gitlab.33.cn/chain33/chain33/cmd/tools
./tool updateinit --path "plugin" --packname "gitlab.33.cn/chain33/bityuan"
./tool import -path "plugin" --packname "gitlab.33.cn/chain33/bityuan" --conf "plugin/plugin.toml"
go build -i -o bityuan
go build -i -o bityuan-cli gitlab.33.cn/chain33/bityuan/cli
```
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