wg-quicker/vendor/github.com/vektra/mockery/v2/Makefile
Marvin Steadfast 104e72bd86
All checks were successful
continuous-integration/drone/push Build is passing
adds ability to kill a process of a userland wireguard-go
2021-04-16 14:21:36 +02:00

26 lines
500 B
Makefile

SHELL=bash
all: clean fmt test fixture install docker integration
clean:
rm -rf mocks
fmt:
go fmt ./...
test:
go test ./...
fixture:
mockery --print --dir pkg/fixtures --name RequesterVariadic > pkg/fixtures/mocks/requester_variadic.go
mockery --print --dir pkg/fixtures --name RequesterVariadic --unroll-variadic=False > pkg/fixtures/mocks/requester_variadic_one_arg.go
install:
go install ./...
docker:
docker build -t vektra/mockery .
integration: docker install
./hack/run-e2e.sh