mirror of
https://github.com/kubernetes-sigs/descheduler.git
synced 2026-01-26 21:31:18 +01:00
update go to 1.19 and helm kubernetes cluster to 1.25 bump -rc.0 to 1.25 GA bump k8s utils library bump golang-ci use go 1.19 for helm github action upgrade kubectl from 0.20 to 0.25 Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
24 lines
406 B
Makefile
24 lines
406 B
Makefile
DIR?=./autorest/
|
|
|
|
default: build
|
|
|
|
build: fmt
|
|
go install $(DIR)
|
|
|
|
test:
|
|
go test $(DIR) || exit 1
|
|
|
|
vet:
|
|
@echo "go vet ."
|
|
@go vet $(DIR)... ; if [ $$? -eq 1 ]; then \
|
|
echo ""; \
|
|
echo "Vet found suspicious constructs. Please check the reported constructs"; \
|
|
echo "and fix them if necessary before submitting the code for review."; \
|
|
exit 1; \
|
|
fi
|
|
|
|
fmt:
|
|
gofmt -w $(DIR)
|
|
|
|
.PHONY: build test vet fmt
|