mirror of
https://github.com/lightninglabs/pool.git
synced 2026-08-15 12:50:29 +02:00
- `make mock`: generates all the mocks for testing. - `mock-check`: generates all the mocks + checks if any *.go file changed. - `make gen`: generates all the auto generated files (protos + mocks). - Add `mock-check` to our CI
7 lines
144 B
Docker
7 lines
144 B
Docker
FROM golang:1.17.1-bullseye
|
|
|
|
RUN go install github.com/golang/mock/mockgen@v1.6.0
|
|
|
|
WORKDIR /build
|
|
|
|
CMD ["/bin/bash", "-c", "go generate ./..."]
|