mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
ee9a64334e
This will add support for building k3s w/ dapper using buildkit.
27 lines
459 B
Makefile
27 lines
459 B
Makefile
TARGETS := $(shell ls scripts | grep -v \\.sh)
|
|
|
|
.dapper:
|
|
@echo Downloading dapper
|
|
@curl -sL https://releases.rancher.com/dapper/v0.4.2/dapper-`uname -s`-`uname -m` > .dapper.tmp
|
|
@@chmod +x .dapper.tmp
|
|
@./.dapper.tmp -v
|
|
@mv .dapper.tmp .dapper
|
|
|
|
$(TARGETS): .dapper
|
|
./.dapper $@
|
|
|
|
trash: .dapper
|
|
./.dapper -m bind trash
|
|
|
|
trash-keep: .dapper
|
|
./.dapper -m bind trash -k
|
|
|
|
deps: trash
|
|
|
|
release:
|
|
./scripts/release.sh
|
|
|
|
.DEFAULT_GOAL := ci
|
|
|
|
.PHONY: $(TARGETS)
|