File: bootstrap

package info (click to toggle)
golang-github-mmcloughlin-avo 0.0~git20200523.4439b6b-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 8,304 kB
  • sloc: xml: 71,029; asm: 13,138; sh: 179; makefile: 35
file content (26 lines) | stat: -rwxr-xr-x 810 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/bash -ex

# Install dependencies.
go mod download

# Standalone version of the asmdecl analysis tool.
go install ./internal/cmd/asmdecl

# Install golangci-lint
golangci_lint_version='v1.23.6'
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $GOPATH/bin ${golangci_lint_version}

# Use gobin for tools install.
GO111MODULE=off go get -u github.com/myitcv/gobin

# embedmd required for documentation generation
gobin github.com/campoy/embedmd@v1.0.0

# covertool for merging coverage reports
gobin github.com/dlespiau/covertool@v0.0.0-20180314162135-b0c4c6d0583a

# asmfmt for enforcing assembly style
gobin github.com/klauspost/asmfmt/cmd/asmfmt@v1.2.1

# gofumports for stricter formatting
gobin mvdan.cc/gofumpt/gofumports@v0.0.0-20200412215918-a91da47f375c