mirror of https://github.com/rancher/webhook.git
19 lines
348 B
Makefile
19 lines
348 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 $@
|
|
|
|
clean:
|
|
rm -rf build bin dist
|
|
|
|
.DEFAULT_GOAL := default
|
|
|
|
.PHONY: $(TARGETS)
|