mirror of
				https://gitea.com/Lydanne/buildx.git
				synced 2025-11-04 10:03:42 +08:00 
			
		
		
		
	make: tidy redirects to bake
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
		
							
								
								
									
										36
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										36
									
								
								Makefile
									
									
									
									
									
								
							@@ -8,6 +8,8 @@ endif
 | 
			
		||||
 | 
			
		||||
export BUILDX_CMD ?= docker buildx
 | 
			
		||||
 | 
			
		||||
BAKE_TARGETS := binaries binaries-cross lint lint-gopls validate-vendor validate-docs validate-authors validate-generated-files
 | 
			
		||||
 | 
			
		||||
.PHONY: all
 | 
			
		||||
all: binaries
 | 
			
		||||
 | 
			
		||||
@@ -19,13 +21,9 @@ build:
 | 
			
		||||
shell:
 | 
			
		||||
	./hack/shell
 | 
			
		||||
 | 
			
		||||
.PHONY: binaries
 | 
			
		||||
binaries:
 | 
			
		||||
	$(BUILDX_CMD) bake binaries
 | 
			
		||||
 | 
			
		||||
.PHONY: binaries-cross
 | 
			
		||||
binaries-cross:
 | 
			
		||||
	$(BUILDX_CMD) bake binaries-cross
 | 
			
		||||
.PHONY: $(BAKE_TARGETS)
 | 
			
		||||
$(BAKE_TARGETS):
 | 
			
		||||
	$(BUILDX_CMD) bake $@
 | 
			
		||||
 | 
			
		||||
.PHONY: install
 | 
			
		||||
install: binaries
 | 
			
		||||
@@ -39,14 +37,6 @@ release:
 | 
			
		||||
.PHONY: validate-all
 | 
			
		||||
validate-all: lint test validate-vendor validate-docs validate-generated-files
 | 
			
		||||
 | 
			
		||||
.PHONY: lint
 | 
			
		||||
lint:
 | 
			
		||||
	$(BUILDX_CMD) bake lint
 | 
			
		||||
 | 
			
		||||
.PHONY: lint-gopls
 | 
			
		||||
lint-gopls:
 | 
			
		||||
	$(BUILDX_CMD) bake lint-gopls
 | 
			
		||||
 | 
			
		||||
.PHONY: test
 | 
			
		||||
test:
 | 
			
		||||
	./hack/test
 | 
			
		||||
@@ -59,22 +49,6 @@ test-unit:
 | 
			
		||||
test-integration:
 | 
			
		||||
	TESTPKGS=./tests ./hack/test
 | 
			
		||||
 | 
			
		||||
.PHONY: validate-vendor
 | 
			
		||||
validate-vendor:
 | 
			
		||||
	$(BUILDX_CMD) bake validate-vendor
 | 
			
		||||
 | 
			
		||||
.PHONY: validate-docs
 | 
			
		||||
validate-docs:
 | 
			
		||||
	$(BUILDX_CMD) bake validate-docs
 | 
			
		||||
 | 
			
		||||
.PHONY: validate-authors
 | 
			
		||||
validate-authors:
 | 
			
		||||
	$(BUILDX_CMD) bake validate-authors
 | 
			
		||||
 | 
			
		||||
.PHONY: validate-generated-files
 | 
			
		||||
validate-generated-files:
 | 
			
		||||
	$(BUILDX_CMD) bake validate-generated-files
 | 
			
		||||
 | 
			
		||||
.PHONY: test-driver
 | 
			
		||||
test-driver:
 | 
			
		||||
	./hack/test-driver
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user