diff options
Diffstat (limited to 'vendor/github.com/rancher/go-rancher/Makefile')
-rw-r--r-- | vendor/github.com/rancher/go-rancher/Makefile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/vendor/github.com/rancher/go-rancher/Makefile b/vendor/github.com/rancher/go-rancher/Makefile new file mode 100644 index 0000000..d7d72a1 --- /dev/null +++ b/vendor/github.com/rancher/go-rancher/Makefile | |||
@@ -0,0 +1,23 @@ | |||
1 | TARGETS := $(shell ls scripts) | ||
2 | |||
3 | .dapper: | ||
4 | @echo Downloading dapper | ||
5 | @curl -sL https://releases.rancher.com/dapper/latest/dapper-`uname -s`-`uname -m` > .dapper.tmp | ||
6 | @@chmod +x .dapper.tmp | ||
7 | @./.dapper.tmp -v | ||
8 | @mv .dapper.tmp .dapper | ||
9 | |||
10 | $(TARGETS): .dapper | ||
11 | ./.dapper $@ | ||
12 | |||
13 | trash: .dapper | ||
14 | ./.dapper -m bind trash | ||
15 | |||
16 | trash-keep: .dapper | ||
17 | ./.dapper -m bind trash -k | ||
18 | |||
19 | deps: trash | ||
20 | |||
21 | .DEFAULT_GOAL := ci | ||
22 | |||
23 | .PHONY: $(TARGETS) | ||