mirror of
https://github.com/kaspanet/kaspad.git
synced 2026-02-18 17:53:45 +00:00
[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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user