mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
447097a597
Update to k8s 1.19
32 lines
507 B
Makefile
32 lines
507 B
Makefile
TARGETS := $(shell ls scripts | grep -v \\.sh)
|
|
|
|
.dapper:
|
|
@echo Downloading dapper
|
|
@curl -sL https://releases.rancher.com/dapper/v0.5.1/dapper-$$(uname -s)-$$(uname -m) > .dapper.tmp
|
|
@@chmod +x .dapper.tmp
|
|
@./.dapper.tmp -v
|
|
@mv .dapper.tmp .dapper
|
|
|
|
$(TARGETS): .dapper
|
|
./.dapper $@
|
|
|
|
.PHONY: deps
|
|
deps:
|
|
go mod vendor
|
|
go mod tidy
|
|
|
|
release:
|
|
./scripts/release.sh
|
|
|
|
.DEFAULT_GOAL := ci
|
|
|
|
.PHONY: $(TARGETS)
|
|
|
|
.PHONY: generate
|
|
generate: build/data
|
|
./scripts/download
|
|
go generate
|
|
|
|
build/data:
|
|
mkdir -p $@
|