mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-11-03 20:36:07 +01:00 
			
		
		
		
	
							
								
								
									
										2
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
									
									
									
									
								
							@@ -186,7 +186,7 @@ help:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
.PHONY: go-check
 | 
					.PHONY: go-check
 | 
				
			||||||
go-check:
 | 
					go-check:
 | 
				
			||||||
	$(eval GO_VERSION := $(shell printf "%03d%03d%03d" $(shell go version | grep -Eo '[0-9]+\.[0-9.]+' | tr '.' ' ');))
 | 
						$(eval GO_VERSION := $(shell printf "%03d%03d%03d" $(shell $(GO) version | grep -Eo '[0-9]+\.[0-9.]+' | tr '.' ' ');))
 | 
				
			||||||
	@if [ "$(GO_VERSION)" -lt "$(MIN_GO_VERSION)" ]; then \
 | 
						@if [ "$(GO_VERSION)" -lt "$(MIN_GO_VERSION)" ]; then \
 | 
				
			||||||
		echo "Gitea requires Go 1.13 or greater to build. You can get it at https://golang.org/dl/"; \
 | 
							echo "Gitea requires Go 1.13 or greater to build. You can get it at https://golang.org/dl/"; \
 | 
				
			||||||
		exit 1; \
 | 
							exit 1; \
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user