From 4a78cd65791510ab71fb218befa9a93e29526c25 Mon Sep 17 00:00:00 2001 From: jregan Date: Thu, 15 Oct 2020 10:02:10 -0700 Subject: [PATCH] Cleanup Makefile. --- Makefile | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/Makefile b/Makefile index 2f5773e64..504aa007b 100644 --- a/Makefile +++ b/Makefile @@ -47,35 +47,32 @@ $(MYGOBIN)/golangci-lint-kustomize: GO111MODULE=on go build -tags=tools -o $(MYGOBIN)/golangci-lint-kustomize github.com/golangci/golangci-lint/cmd/golangci-lint; \ ) -$(MYGOBIN)/gorepomod: - cd cmd/gorepomod; \ - go install . - +# Install from version specified in api/go.mod. $(MYGOBIN)/mdrip: cd api; \ go install github.com/monopole/mdrip +# Install from version specified in api/go.mod. $(MYGOBIN)/stringer: cd api; \ go install golang.org/x/tools/cmd/stringer +# Install from version specified in api/go.mod. $(MYGOBIN)/goimports: cd api; \ go install golang.org/x/tools/cmd/goimports -# Install resource from whatever is checked out. -$(MYGOBIN)/resource: - cd cmd/resource; \ +# Build from local source. +$(MYGOBIN)/gorepomod: + cd cmd/gorepomod; \ go install . -# To pin pluginator, use this recipe instead: -# cd api; -# go install sigs.k8s.io/kustomize/pluginator/v2 +# Build from local source. $(MYGOBIN)/pluginator: cd cmd/pluginator; \ go install . -# Install kustomize from whatever is checked out. +# Build from local source. $(MYGOBIN)/kustomize: cd kustomize; \ go install .