Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
helm3
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
helm3
Commits
2c0af5ff
Commit
2c0af5ff
authored
Nov 15, 2016
by
Adam Reese
Committed by
GitHub
Nov 15, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1550 from mattfarina/feat/gometalinter-versioned
feat(gometalinter): Move to versioned releases
parents
bae4508d
d2fa0396
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
validate-go.sh
scripts/validate-go.sh
+5
-5
No files found.
scripts/validate-go.sh
View file @
2c0af5ff
...
@@ -17,15 +17,15 @@ set -euo pipefail
...
@@ -17,15 +17,15 @@ set -euo pipefail
exit_code
=
0
exit_code
=
0
if
!
hash
gometalinter 2>/dev/null
;
then
if
!
hash
gometalinter
.v1
2>/dev/null
;
then
go get
github.com/alecthomas/gometalinter
go get
-u
gopkg.in/alecthomas/gometalinter.v1
gometalinter
--install
gometalinter
.v1
--install
fi
fi
echo
echo
echo
"==> Running static validations <=="
echo
"==> Running static validations <=="
# Run linters that should return errors
# Run linters that should return errors
gometalinter
\
gometalinter
.v1
\
--disable-all
\
--disable-all
\
--enable
deadcode
\
--enable
deadcode
\
--severity
deadcode:error
\
--severity
deadcode:error
\
...
@@ -42,7 +42,7 @@ gometalinter \
...
@@ -42,7 +42,7 @@ gometalinter \
echo
echo
echo
"==> Running linters <=="
echo
"==> Running linters <=="
# Run linters that should return warnings
# Run linters that should return warnings
gometalinter
\
gometalinter
.v1
\
--disable-all
\
--disable-all
\
--enable
golint
\
--enable
golint
\
--vendor
\
--vendor
\
...
...
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