Skip to content

Commit

Permalink
try this
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkowl committed Feb 19, 2024
1 parent b158ae1 commit 4107f08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ discoverycache:
$(MAKE) generate

generate:
go generate ./...
go generate -v -x ./...

generate-guardrails:
cd pkg/operator/controllers/guardrails/policies && ./scripts/generate.sh > /dev/null
Expand Down
2 changes: 1 addition & 1 deletion pkg/operator/controllers/workaround/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ package workaround
// Copyright (c) Microsoft Corporation.
// Licensed under the Apache License 2.0.

//go:generate rm -rf ../../../util/mocks/$GOPACKAGE
//go:generate rm -rf ../../../util/mocks/operator/controllers/$GOPACKAGE
//go:generate go run ../../../../vendor/github.com/golang/mock/mockgen -destination=../../../util/mocks/operator/controllers/$GOPACKAGE/$GOPACKAGE.go github.com/Azure/ARO-RP/pkg/operator/controllers/$GOPACKAGE Workaround
//go:generate go run ../../../../vendor/golang.org/x/tools/cmd/goimports -local=github.com/Azure/ARO-RP -e -w ../../../util/mocks/operator/controllers/$GOPACKAGE/$GOPACKAGE.go

0 comments on commit 4107f08

Please sign in to comment.