Skip to content
Permalink
Browse files

Merge pull request #940 from DirectXMan12/bug/handle-missing-api-in-m…

…akefile

🐛 Change makefile in v2 scaffolding to use ./...
  • Loading branch information...
k8s-ci-robot committed Aug 14, 2019
2 parents 634f2b1 + 6bb1680 commit b31507b5b17b2016c69c189410296d3a6453e6db
Showing with 4 additions and 4 deletions.
  1. +2 −2 pkg/scaffold/v2/makefile.go
  2. +2 −2 testdata/project-v2/Makefile
@@ -59,7 +59,7 @@ all: manager
# Run tests
test: generate fmt vet manifests
go test ./api/... ./controllers/... -coverprofile cover.out
go test ./... -coverprofile cover.out
# Build manager binary
manager: generate fmt vet
@@ -92,7 +92,7 @@ vet:
# Generate code
generate: controller-gen
$(CONTROLLER_GEN) object:headerFile=./hack/boilerplate.go.txt paths=./api/...
$(CONTROLLER_GEN) object:headerFile=./hack/boilerplate.go.txt paths="./..."
# Build the docker image
docker-build: test
@@ -15,7 +15,7 @@ all: manager

# Run tests
test: generate fmt vet manifests
go test ./api/... ./controllers/... -coverprofile cover.out
go test ./... -coverprofile cover.out

# Build manager binary
manager: generate fmt vet
@@ -48,7 +48,7 @@ vet:

# Generate code
generate: controller-gen
$(CONTROLLER_GEN) object:headerFile=./hack/boilerplate.go.txt paths=./api/...
$(CONTROLLER_GEN) object:headerFile=./hack/boilerplate.go.txt paths="./..."

# Build the docker image
docker-build: test

0 comments on commit b31507b

Please sign in to comment.
You can’t perform that action at this time.