This will help keep READMEs in sync with code. Also adds a README for the add example. Updates #14
14 lines
405 B
Bash
Executable File
14 lines
405 B
Bash
Executable File
#!/bin/bash -ex
|
|
|
|
# Limit dependencies to golang.org/x repos
|
|
go get -u \
|
|
golang.org/x/arch/x86/... \
|
|
golang.org/x/tools/go/...
|
|
|
|
# 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
|