mirror of
https://github.com/TECHNOFAB11/dbmate.git
synced 2025-12-11 23:50:04 +01:00
Add gometalinter (#36)
This commit is contained in:
parent
cacf5de3ec
commit
ee3162c34c
6 changed files with 32 additions and 15 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue