15 lines
420 B
Bash
Executable File
15 lines
420 B
Bash
Executable File
#!/bin/bash -ex
|
|
|
|
# Install go module dependencies.
|
|
go mod download
|
|
|
|
# Install golangci-lint
|
|
golangci_lint_version='v1.12.3'
|
|
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $GOPATH/bin ${golangci_lint_version}
|
|
|
|
# embedmd required for documentation generation
|
|
go get -u github.com/campoy/embedmd
|
|
|
|
# covertool for merging coverage reports
|
|
go get -u github.com/dlespiau/covertool
|