mirror of
				https://github.com/gohugoio/hugo.git
				synced 2024-05-11 05:54:58 +00:00 
			
		
		
		
	Fix check-vendor logic in Makefile
This commit is contained in:
		
				
					committed by
					
						 Bjørn Erik Pedersen
						Bjørn Erik Pedersen
					
				
			
			
				
	
			
			
			
						parent
						
							7935541087
						
					
				
				
					commit
					8cd3ea565a
				
			
							
								
								
									
										2
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
									
									
									
									
								
							| @@ -77,7 +77,7 @@ test-cover-html: ## Generate test coverage report | |||||||
| 	go tool cover -html=coverage-all.out | 	go tool cover -html=coverage-all.out | ||||||
|  |  | ||||||
| check-vendor: ## Verify that vendored packages match git HEAD | check-vendor: ## Verify that vendored packages match git HEAD | ||||||
| 	@git diff-index --quiet HEAD || echo "check-vendor target failed: vendored packages out of sync" && echo && git diff vendor/ && exit 1 | 	@git diff-index --quiet HEAD vendor/ || (echo "check-vendor target failed: vendored packages out of sync" && echo && git diff vendor/ && exit 1) | ||||||
|  |  | ||||||
| help: | help: | ||||||
| 	@grep -E '^[a-zA-Z0-9_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' | 	@grep -E '^[a-zA-Z0-9_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user