Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
63f0ef5a
Commit
63f0ef5a
authored
Dec 21, 2018
by
Sen Lu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
install golint from vendor
parent
f73bc5de
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
verify-golint.sh
hack/verify-golint.sh
+7
-3
No files found.
hack/verify-golint.sh
View file @
63f0ef5a
...
@@ -24,9 +24,13 @@ source "${KUBE_ROOT}/hack/lib/init.sh"
...
@@ -24,9 +24,13 @@ source "${KUBE_ROOT}/hack/lib/init.sh"
kube::golang::verify_go_version
kube::golang::verify_go_version
if
!
which golint
>
/dev/null
;
then
if
!
which golint
>
/dev/null
;
then
echo
'Can not find golint, install with:'
# Ensure that we find the binaries we build before anything else.
echo
'go get -u golang.org/x/lint/golint'
export
GOBIN
=
"
${
KUBE_OUTPUT_BINPATH
}
"
exit
1
PATH
=
"
${
GOBIN
}
:
${
PATH
}
"
# Install golint from vendor
echo
'Can not find golint, installing from vendor'
go
install
k8s.io/kubernetes/vendor/golang.org/x/lint/golint
fi
fi
cd
"
${
KUBE_ROOT
}
"
cd
"
${
KUBE_ROOT
}
"
...
...
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