Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Steffen <jan.steffen@finleap.com>
  • Loading branch information
jastBytes committed Jul 7, 2022
1 parent bf3bbe4 commit ebb59bb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions go.mk
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ endif
export DEX_CONFIG = $(BUILD_PATH)/config/dex
export M8_OPERATION_MODE = development


##@ Go

.PHONY: go-mod
Expand Down Expand Up @@ -62,7 +61,7 @@ go-protobuf: .protobuf-deps
export PATH="$(LOCALBIN):$$PATH" ; find ./api -name '*.proto' -exec $(PROTOC) -I. -I$(PROTOC_IMPORTS_DIR) --go_opt=module=github.com/finleap-connect/monoskope --go_out=. --validate_out="lang=go,module=github.com/finleap-connect/monoskope:." {} \;

.PHONY: go-rebuild-mocks
go-rebuild-mocks: .protobuf-deps $(MOCKGEN)
go-rebuild-mocks: .protobuf-deps gomock
$(MOCKGEN) -copyright_file hack/copyright.lic -destination internal/test/sigs.k8s.io/controller-runtime/pkg/client.go sigs.k8s.io/controller-runtime/pkg/client Client
$(MOCKGEN) -copyright_file hack/copyright.lic -destination internal/test/api/eventsourcing/eventstore_client.go github.com/finleap-connect/monoskope/pkg/api/eventsourcing EventStoreClient,EventStore_StoreClient,EventStore_RetrieveClient
$(MOCKGEN) -copyright_file hack/copyright.lic -destination internal/test/api/eventsourcing/commandhandler_client.go github.com/finleap-connect/monoskope/pkg/api/eventsourcing CommandHandlerClient
Expand Down

0 comments on commit ebb59bb

Please sign in to comment.