2019-01-24 17:51:14 +00:00
|
|
|
TARGETS := $(shell ls scripts | grep -v \\.sh)
|
2019-01-01 08:23:01 +00:00
|
|
|
|
|
|
|
.dapper:
|
|
|
|
@echo Downloading dapper
|
2019-07-02 23:13:18 +00:00
|
|
|
@curl -sL https://releases.rancher.com/dapper/v0.4.2/dapper-`uname -s`-`uname -m` > .dapper.tmp
|
2019-01-01 08:23:01 +00:00
|
|
|
@@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
|
|
|
|
|
2019-01-24 17:51:14 +00:00
|
|
|
release:
|
|
|
|
./scripts/release.sh
|
|
|
|
|
2019-01-01 08:23:01 +00:00
|
|
|
.DEFAULT_GOAL := ci
|
|
|
|
|
|
|
|
.PHONY: $(TARGETS)
|