2017-12-13 04:34:55 +00:00
|
|
|
DESTDIR=/usr/local
|
2017-06-19 23:10:09 +00:00
|
|
|
|
2018-10-02 17:03:32 +00:00
|
|
|
binaries: FORCE
|
|
|
|
hack/binaries
|
2017-06-19 23:10:09 +00:00
|
|
|
|
2019-03-01 08:04:59 +00:00
|
|
|
images: FORCE
|
|
|
|
# moby/buildkit:local and moby/buildkit:local-rootless are created on Docker
|
|
|
|
hack/images local moby/buildkit
|
|
|
|
|
2017-12-13 04:34:55 +00:00
|
|
|
install: FORCE
|
|
|
|
mkdir -p $(DESTDIR)/bin
|
2018-10-02 17:03:32 +00:00
|
|
|
install bin/* $(DESTDIR)/bin
|
2017-12-13 04:34:55 +00:00
|
|
|
|
|
|
|
clean: FORCE
|
|
|
|
rm -rf ./bin
|
|
|
|
|
2017-05-26 00:16:32 +00:00
|
|
|
test:
|
2018-10-02 17:03:32 +00:00
|
|
|
./hack/test integration gateway dockerfile
|
2017-05-26 00:16:32 +00:00
|
|
|
|
2017-06-19 23:10:09 +00:00
|
|
|
lint:
|
|
|
|
./hack/lint
|
2017-07-12 05:08:53 +00:00
|
|
|
|
2017-06-19 23:10:09 +00:00
|
|
|
validate-vendor:
|
|
|
|
./hack/validate-vendor
|
|
|
|
|
2020-07-25 03:36:55 +00:00
|
|
|
validate-shfmt:
|
|
|
|
./hack/validate-shfmt
|
|
|
|
|
|
|
|
shfmt:
|
|
|
|
./hack/shfmt
|
|
|
|
|
2018-03-26 10:52:36 +00:00
|
|
|
validate-generated-files:
|
|
|
|
./hack/validate-generated-files
|
|
|
|
|
|
|
|
validate-all: test lint validate-vendor validate-generated-files
|
2017-06-19 23:10:09 +00:00
|
|
|
|
2017-05-25 23:26:11 +00:00
|
|
|
vendor:
|
|
|
|
./hack/update-vendor
|
2017-07-12 05:08:53 +00:00
|
|
|
|
2018-03-26 10:52:36 +00:00
|
|
|
generated-files:
|
|
|
|
./hack/update-generated-files
|
|
|
|
|
2019-03-01 08:04:59 +00:00
|
|
|
.PHONY: vendor generated-files test binaries images install clean lint validate-all validate-vendor validate-generated-files
|
2017-07-12 05:08:53 +00:00
|
|
|
FORCE:
|