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
5b73bea3
Commit
5b73bea3
authored
Dec 27, 2019
by
jiangpeng
Committed by
vipwzw
Dec 31, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
script:update autotest get chain33 path
parent
6a3fd8fe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
8 deletions
+1
-8
run.sh
build/autotest/run.sh
+1
-8
No files found.
build/autotest/run.sh
View file @
5b73bea3
...
...
@@ -13,14 +13,7 @@ if [ "$(uname)" == "Darwin" ]; then
fi
## get chain33 path
CHAIN33_PATH
=
$(
grep
-m1
github.com/33cn/chain33 ../../go.mod |
grep
-o
'[^ ]\+$'
)
CHAIN33_PATH
=
"
${
CHAIN33_PATH
%/
}
"
if
[[
-d
../../
${
CHAIN33_PATH
}
]]
;
then
CHAIN33_PATH
=
../../
"
$CHAIN33_PATH
"
elif
[[
!
-d
${
CHAIN33_PATH
}
]]
;
then
CHAIN33_PATH
=
"
${
GOPATH
}
"
/pkg/mod/github.com/33cn/chain33@
"
$CHAIN33_PATH
"
fi
CHAIN33_PATH
=
$(
go list
-f
"{{.Dir}}"
github.com/33cn/chain33
)
function
build_auto_test
()
{
...
...
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