[DEV-134] Split all the pre-compile checks to separate lines to be able to tell which of them is failing.

This commit is contained in:
Stas Boutenko
2018-10-21 17:28:13 +03:00
parent 780519c8d4
commit 0c2d43437c

View File

@@ -19,12 +19,12 @@ RUN dep ensure -v --vendor-only
COPY . .
RUN gofmt -d -e -s . \
&& go tool vet -all . \
&& golint -set_exit_status . \
&& aligncheck . \
&& structcheck -e . \
&& varcheck -e .
RUN gofmt -d -e -s .
RUN go tool vet -all .
RUN golint -set_exit_status .
RUN aligncheck .
RUN structcheck -e .
RUN varcheck -e .
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o btcd .
RUN strip btcd