mirror of
https://github.com/kaspanet/kaspad.git
synced 2026-02-19 18:29:36 +00:00
[DEV-134] Made all precompilation checks run on everything instead of only the root dir.
This commit is contained in:
@@ -19,12 +19,12 @@ RUN dep ensure -v -vendor-only
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN gofmt -d -e -s .
|
||||
RUN go vet .
|
||||
RUN golint -set_exit_status .
|
||||
RUN aligncheck .
|
||||
RUN structcheck -e .
|
||||
RUN varcheck -e .
|
||||
RUN go fmt ./...
|
||||
RUN go vet ./...
|
||||
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