-
Notifications
You must be signed in to change notification settings - Fork 11
/
Makefile
32 lines (21 loc) · 608 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
PACK_CMD?=pack
GIT_TAG := $(shell git tag --points-at HEAD)
VERSION_TAG := $(shell [ -z $(GIT_TAG) ] && echo 'tip' || echo $(GIT_TAG) )
.PHONY: stacks buildpacks builders test
all: stacks buildpacks builders
stacks:
./hack/make.sh stacks $(VERSION_TAG)
buildpacks:
./hack/make.sh buildpacks $(VERSION_TAG)
builders:
./hack/make.sh builders $(VERSION_TAG)
bin/func_stable:
test/install_func_stable.sh
bin/func_snapshot:
test/install_func_snapshot.sh
test: bin/func_stable bin/func_snapshot
test/test_builders.go $(VERSION_TAG)
publish:
./hack/make.sh publish $(VERSION_TAG)
clean:
rm bin/*