Add gometalinter (#36)

This commit is contained in:
Adrian Macneil 2018-04-15 19:59:56 -07:00 committed by GitHub
parent cacf5de3ec
commit ee3162c34c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 32 additions and 15 deletions

View file

@ -15,9 +15,8 @@ RUN apt-get update \
# development dependencies
RUN curl -fsSL -o /usr/local/bin/dep https://github.com/golang/dep/releases/download/v0.3.2/dep-linux-amd64 \
&& chmod +x /usr/local/bin/dep
RUN go get \
github.com/golang/lint/golint \
github.com/kisielk/errcheck
RUN go get gopkg.in/alecthomas/gometalinter.v2 \
&& gometalinter.v2 --install
# copy source files
COPY . /go/src/github.com/amacneil/dbmate