1
0
mirror of https://github.com/rancher/cli.git synced 2026-02-05 09:48:36 +01:00
Files
cli/Makefile
Dan Ramich a8000549ed Update build process
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
2019-09-03 16:58:33 -07:00

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)