Skip to content

Commit

Permalink
Add the ability to update mocks
Browse files Browse the repository at this point in the history
  • Loading branch information
dnnrly committed Jun 24, 2022
1 parent 9651c41 commit 2c66588
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ deps: ./bin/tparse
go get -v ./...
go mod tidy

.PHONY: mocks
mocks: ## generate mocks for interfaces
mockgen -source=waitfor.go -package=waitfor > waitfor_mock_test.go

.PHONY: build
build: ## build the application
go build -o wait-for ./cmd/wait-for
Expand Down

0 comments on commit 2c66588

Please sign in to comment.