mirror of
https://github.com/rancher/cli.git
synced 2026-02-05 09:48:36 +01:00
Problem: The cli is using an old go version It does not use all the validation tools rancher/rancher uses Solution: Update to go version 1.12.9 Include goimports for validation
16 lines
308 B
Makefile
16 lines
308 B
Makefile
TARGETS := $(shell ls scripts)
|
|
|
|
.dapper:
|
|
@echo Downloading dapper
|
|
@curl -sL https://releases.rancher.com/dapper/latest/dapper-`uname -s`-`uname -m` > .dapper.tmp
|
|
@@chmod +x .dapper.tmp
|
|
@./.dapper.tmp -v
|
|
@mv .dapper.tmp .dapper
|
|
|
|
$(TARGETS): .dapper
|
|
./.dapper $@
|
|
|
|
.DEFAULT_GOAL := ci
|
|
|
|
.PHONY: $(TARGETS)
|