mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-29 17:41:13 +00:00
Makefiles for all modules
This commit is contained in:
@@ -1,6 +1,12 @@
|
||||
# Copyright 2022 The Kubernetes Authors.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
MYGOBIN = $(shell go env GOBIN)
|
||||
ifeq ($(MYGOBIN),)
|
||||
MYGOBIN = $(shell go env GOPATH)/bin
|
||||
endif
|
||||
export PATH := $(MYGOBIN):$(PATH)
|
||||
|
||||
.PHONY: install-out-of-tree-tools
|
||||
install-out-of-tree-tools: \
|
||||
$(MYGOBIN)/goimports \
|
||||
@@ -36,6 +42,9 @@ $(MYGOBIN)/mdtogo:
|
||||
$(MYGOBIN)/addlicense:
|
||||
go install github.com/google/addlicense
|
||||
|
||||
$(MYGOBIN)/statik:
|
||||
go install github.com/rakyll/statik
|
||||
|
||||
$(MYGOBIN)/kind:
|
||||
( \
|
||||
set -e; \
|
||||
|
||||
Reference in New Issue
Block a user