forked from moby/buildkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
46 lines (32 loc) · 888 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
prefix=/usr/local
bindir=$(prefix)/bin
binaries: FORCE
hack/binaries
images: FORCE
# canonical/buildkit:local and canonical/buildkit:local-rootless are created on Docker
hack/images local canonical/buildkit
TARGET=rootless hack/images local canonical/buildkit
install: FORCE
mkdir -p $(DESTDIR)$(bindir)
install bin/* $(DESTDIR)$(bindir)
clean: FORCE
rm -rf ./bin
test:
./hack/test integration gateway dockerfile
lint:
./hack/lint
validate-vendor:
./hack/validate-vendor
validate-shfmt:
./hack/validate-shfmt
shfmt:
./hack/shfmt
validate-generated-files:
./hack/validate-generated-files
validate-all: test lint validate-vendor validate-generated-files
vendor:
./hack/update-vendor
generated-files:
./hack/update-generated-files
.PHONY: vendor generated-files test binaries images install clean lint validate-all validate-vendor validate-generated-files
FORCE: