39 lines
727 B
Makefile
39 lines
727 B
Makefile
DESTDIR=/usr/local
|
|
|
|
binaries: FORCE
|
|
hack/binaries
|
|
|
|
images: FORCE
|
|
# moby/buildkit:local and moby/buildkit:local-rootless are created on Docker
|
|
hack/images local moby/buildkit
|
|
|
|
install: FORCE
|
|
mkdir -p $(DESTDIR)/bin
|
|
install bin/* $(DESTDIR)/bin
|
|
|
|
clean: FORCE
|
|
rm -rf ./bin
|
|
|
|
test:
|
|
./hack/test integration gateway dockerfile
|
|
|
|
lint:
|
|
./hack/lint
|
|
|
|
validate-vendor:
|
|
./hack/validate-vendor
|
|
|
|
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:
|