forked from apps/featurer
		
	Add vendor to improve building speed.
This also adds ability to be built in network-constrained environment.
This commit is contained in:
		
							
								
								
									
										18
									
								
								vendor/github.com/go-playground/validator/v10/Makefile
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								vendor/github.com/go-playground/validator/v10/Makefile
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,18 @@ | ||||
| GOCMD=go | ||||
|  | ||||
| linters-install: | ||||
| 	@golangci-lint --version >/dev/null 2>&1 || { \ | ||||
| 		echo "installing linting tools..."; \ | ||||
| 		curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s v1.41.1; \ | ||||
| 	} | ||||
|  | ||||
| lint: linters-install | ||||
| 	golangci-lint run | ||||
|  | ||||
| test: | ||||
| 	$(GOCMD) test -cover -race ./... | ||||
|  | ||||
| bench: | ||||
| 	$(GOCMD) test -run=NONE -bench=. -benchmem ./... | ||||
|  | ||||
| .PHONY: test lint linters-install | ||||
		Reference in New Issue
	
	Block a user