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
5837bf24
Commit
5837bf24
authored
Nov 10, 2018
by
madengji
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify protobuf
parent
4772fd58
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
11 additions
and
11 deletions
+11
-11
Jenkinsfile
Jenkinsfile
+3
-3
Makefile
Makefile
+3
-3
create_protobuf.sh
plugin/dapp/pokerbull/proto/create_protobuf.sh
+1
-1
create_protobuf.sh
plugin/dapp/retrieve/proto/create_protobuf.sh
+1
-1
create_protobuf.sh
plugin/dapp/token/proto/create_protobuf.sh
+1
-1
create_protobuf.sh
plugin/dapp/trade/proto/create_protobuf.sh
+1
-1
create_protobuf.sh
plugin/dapp/valnode/proto/create_protobuf.sh
+1
-1
No files found.
Jenkinsfile
View file @
5837bf24
...
@@ -6,7 +6,7 @@ pipeline {
...
@@ -6,7 +6,7 @@ pipeline {
environment
{
environment
{
GOPATH
=
"${WORKSPACE}"
GOPATH
=
"${WORKSPACE}"
PROJ_DIR
=
"${WORKSPACE}/src/gitlab.33.cn/chain33/
chain33
"
PROJ_DIR
=
"${WORKSPACE}/src/gitlab.33.cn/chain33/
plugin
"
}
}
options
{
options
{
...
@@ -15,7 +15,7 @@ pipeline {
...
@@ -15,7 +15,7 @@ pipeline {
timestamps
()
timestamps
()
gitLabConnection
(
'gitlab33'
)
gitLabConnection
(
'gitlab33'
)
gitlabBuilds
(
builds:
[
'check'
,
'build'
,
'test'
,
'deploy'
])
gitlabBuilds
(
builds:
[
'check'
,
'build'
,
'test'
,
'deploy'
])
checkoutToSubdirectory
"src/gitlab.33.cn/chain33/
chain33
"
checkoutToSubdirectory
"src/gitlab.33.cn/chain33/
plugin
"
}
}
stages
{
stages
{
...
@@ -49,7 +49,7 @@ pipeline {
...
@@ -49,7 +49,7 @@ pipeline {
environment
{
environment
{
GOPATH
=
"${WORKSPACE}"
GOPATH
=
"${WORKSPACE}"
PROJ_DIR
=
"${WORKSPACE}/src/gitlab.33.cn/chain33/
chain33
"
PROJ_DIR
=
"${WORKSPACE}/src/gitlab.33.cn/chain33/
plugin
"
}
}
steps
{
steps
{
...
...
Makefile
View file @
5837bf24
...
@@ -189,7 +189,7 @@ mock:
...
@@ -189,7 +189,7 @@ mock:
.PHONY
:
auto_ci_before auto_ci_after auto_ci
.PHONY
:
auto_ci_before auto_ci_after auto_ci
auto_ci_before
:
clean fmt protobuf
mock
auto_ci_before
:
clean fmt protobuf
@
echo
"auto_ci"
@
echo
"auto_ci"
@
go version
@
go version
@
protoc
--version
@
protoc
--version
...
@@ -200,7 +200,7 @@ auto_ci_before: clean fmt protobuf mock
...
@@ -200,7 +200,7 @@ auto_ci_before: clean fmt protobuf mock
@
git status
@
git status
.PHONY
:
auto_ci_after
.PHONY
:
auto_ci_after
auto_ci_after
:
clean fmt protobuf
mock
auto_ci_after
:
clean fmt protobuf
@
git add
*
.go
*
.sh
*
.proto
@
git add
*
.go
*
.sh
*
.proto
@
git status
@
git status
@
files
=
$$
(
git status
-suno
)
;
if
[
-n
"
$$
files"
]
;
then
\
@
files
=
$$
(
git status
-suno
)
;
if
[
-n
"
$$
files"
]
;
then
\
...
@@ -212,7 +212,7 @@ auto_ci_after: clean fmt protobuf mock
...
@@ -212,7 +212,7 @@ auto_ci_after: clean fmt protobuf mock
.PHONY
:
auto_ci
.PHONY
:
auto_ci
auto_fmt
:=
find
.
-name
'*.go'
-not
-path
'./vendor/*'
| xargs goimports
-l
-w
auto_fmt
:=
find
.
-name
'*.go'
-not
-path
'./vendor/*'
| xargs goimports
-l
-w
auto_ci
:
clean fmt_proto fmt_shell protobuf
mock
auto_ci
:
clean fmt_proto fmt_shell protobuf
@
-find
.
-name
'*.go'
-not
-path
'./vendor/*'
| xargs gofmt
-l
-w
-s
@
-find
.
-name
'*.go'
-not
-path
'./vendor/*'
| xargs gofmt
-l
-w
-s
@
-
${
auto_fmt
}
@
-
${
auto_fmt
}
@
-find
.
-name
'*.go'
-not
-path
'./vendor/*'
| xargs gofmt
-l
-w
-s
@
-find
.
-name
'*.go'
-not
-path
'./vendor/*'
| xargs gofmt
-l
-w
-s
...
...
plugin/dapp/pokerbull/proto/create_protobuf.sh
View file @
5837bf24
#!/bin/sh
#!/bin/sh
protoc
--go_out
=
plugins
=
grpc:../types ./
*
.proto
--proto_path
=
.
--proto_path
=
"
../../../..
/types/proto/"
protoc
--go_out
=
plugins
=
grpc:../types ./
*
.proto
--proto_path
=
.
--proto_path
=
"
$GOPATH
/src/gitlab.33.cn/chain33/chain33
/types/proto/"
plugin/dapp/retrieve/proto/create_protobuf.sh
View file @
5837bf24
#!/bin/sh
#!/bin/sh
protoc
--go_out
=
plugins
=
grpc:../types ./
*
.proto
--proto_path
=
.
--proto_path
=
"
../../../..
/types/proto/"
protoc
--go_out
=
plugins
=
grpc:../types ./
*
.proto
--proto_path
=
.
--proto_path
=
"
$GOPATH
/src/gitlab.33.cn/chain33/chain33
/types/proto/"
plugin/dapp/token/proto/create_protobuf.sh
View file @
5837bf24
#!/bin/sh
#!/bin/sh
protoc
--go_out
=
plugins
=
grpc:../types ./
*
.proto
--proto_path
=
.
--proto_path
=
"
../../../..
/types/proto/"
protoc
--go_out
=
plugins
=
grpc:../types ./
*
.proto
--proto_path
=
.
--proto_path
=
"
$GOPATH
/src/gitlab.33.cn/chain33/chain33
/types/proto/"
plugin/dapp/trade/proto/create_protobuf.sh
View file @
5837bf24
#!/bin/sh
#!/bin/sh
protoc
--go_out
=
plugins
=
grpc:../types ./
*
.proto
--proto_path
=
.
--proto_path
=
"
../../../..
/types/proto/"
protoc
--go_out
=
plugins
=
grpc:../types ./
*
.proto
--proto_path
=
.
--proto_path
=
"
$GOPATH
/src/gitlab.33.cn/chain33/chain33
/types/proto/"
plugin/dapp/valnode/proto/create_protobuf.sh
View file @
5837bf24
#!/bin/sh
#!/bin/sh
protoc
--go_out
=
plugins
=
grpc:../types ./
*
.proto
--proto_path
=
.
--proto_path
=
"
../../../..
/types/proto/"
protoc
--go_out
=
plugins
=
grpc:../types ./
*
.proto
--proto_path
=
.
--proto_path
=
"
$GOPATH
/src/gitlab.33.cn/chain33/chain33
/types/proto/"
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