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
6ee49def
Commit
6ee49def
authored
Nov 26, 2018
by
vipwzw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix mock
parent
ec092d26
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
10 deletions
+1
-10
Makefile
Makefile
+1
-10
No files found.
Makefile
View file @
6ee49def
...
@@ -174,15 +174,6 @@ checkgofmt: ## get all go files and run go fmt on them
...
@@ -174,15 +174,6 @@ checkgofmt: ## get all go files and run go fmt on them
exit
1
;
\
exit
1
;
\
fi
;
fi
;
.PHONY
:
mock
mock
:
@
cd
client
&&
mockery
-name
=
QueueProtocolAPI
&&
mv
mocks/QueueProtocolAPI.go mocks/api.go
&&
cd
-
@
cd
queue
&&
mockery
-name
=
Client
&&
mv
mocks/Client.go mocks/client.go
&&
cd
-
@
cd
common/db
&&
mockery
-name
=
KV
&&
mv
mocks/KV.go mocks/kv.go
&&
cd
-
@
cd
common/db
&&
mockery
-name
=
KVDB
&&
mv
mocks/KVDB.go mocks/kvdb.go
&&
cd
-
@
cd
types/
&&
mockery
-name
=
Chain33Client
&&
mv
mocks/Chain33Client.go mocks/chain33client.go
&&
cd
-
.PHONY
:
auto_ci_before auto_ci_after auto_ci
.PHONY
:
auto_ci_before auto_ci_after auto_ci
auto_ci_before
:
clean fmt protobuf
auto_ci_before
:
clean fmt protobuf
@
echo
"auto_ci"
@
echo
"auto_ci"
...
@@ -266,7 +257,7 @@ pullpush:
...
@@ -266,7 +257,7 @@ pullpush:
make pullsync
make pullsync
git push
${
name
}
${
name
}
-
${
b
}
:
${
b
}
git push
${
name
}
${
name
}
-
${
b
}
:
${
b
}
webhook_auto_ci
:
clean fmt_proto fmt_shell protobuf
mock
webhook_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
...
...
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