Skip to content

Commit

Permalink
lock to gometalinter.v2
Browse files Browse the repository at this point in the history
  • Loading branch information
docwhat committed Feb 28, 2018
1 parent 2e29a22 commit ff8dff0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions script/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,17 @@
# Sets up all the dependencies, etc. so you can build and test.

set -euo pipefail

# shellcheck source=script/utilities.bash
source "$(dirname "$0")/utilities.bash"

header "Fetching utilites"
go get "$@" -v \
github.com/alecthomas/gometalinter \
go install "$@" -v \
gopkg.in/alecthomas/gometalinter.v2 \
github.com/mitchellh/gox \
github.com/kardianos/govendor

header "Installing gometalinter tools"
gometalinter --install
gometalinter.v2 --install

# vim: set ft=sh :
2 changes: 1 addition & 1 deletion script/test
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ for example in examples/*; do
done

header "Linter"
gometalinter \
gometalinter.v2 \
--deadline=1m \
--vendored-linters \
--disable=gotype
Expand Down

0 comments on commit ff8dff0

Please sign in to comment.