append .exe to dep & metalinter
@@ -36,9 +36,10 @@ function install_deps
go get gopkg.in/alecthomas/gometalinter.v1
go get github.com/gordonklaus/ineffassign
go get github.com/jgautheron/goconst/cmd/goconst
- go get -u github.com/golang/lint/golint
go get -u -v github.com/golang/dep/cmd/dep
- dep ensure
+ go get -u github.com/golang/lint/golint
+ go get -u github.com/UnnoTed/fileb0x
+ dep.exe ensure
}
function build_tool_binary([string]$goos, [string]$goarch, [string]$bin, [string]$subdir)
@@ -149,7 +150,7 @@ function linter_commands
{
echo "Running linter..."
- gometalinter.v1 --vendor --disable-all --enable=vet --linter='vet:go tool vet -composites=false {paths}:PATH:LINE:MESSAGE' --enable=golint --enable=ineffassign --enable=goconst --tests ./...
+ gometalinter.v1.exe --vendor --disable-all --enable=vet --linter='vet:go tool vet -composites=false {paths}:PATH:LINE:MESSAGE' --enable=golint --enable=ineffassign --enable=goconst --tests ./...
If ($LASTEXITCODE -ne 0) {
echo "Linting failed..."
exit 1
