forked from soluble-ai/kubetap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
51 lines (39 loc) · 781 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
ZSH := $(shell command -v zsh 2>/dev/null)
.PHONY: all
all: zsh clean build
# build.zsh is our meta-build script. Individual scripts
# are also provided as make targets for developer convenience.
.PHONY: build
build: zsh
./scripts/build.zsh
.PHONY: clean
clean: zsh
./scripts/clean.zsh
.PHONY: test
test: unit-test ig-test
.PHONY: unit-test
unit-test: zsh
./scripts/test.zsh
.PHONY: ig-test
ig-test: zsh
./scripts/ig-test.zsh
.PHONY: lint
lint: zsh
./scripts/lint.zsh
.PHONY: images
images: zsh
./scripts/images.zsh
.PHONY: docs-build
docs-build: zsh
./scripts/docs-build.zsh
.PHONY: docs
docs: zsh
./scripts/docs-serve.zsh
.PHONY: zsh
zsh:
ifndef ZSH
$(error "zsh is not available. Install zsh or do a manual go build")
endif
.PHONY: help
help:
cat Makefile