You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			42 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			Makefile
		
	
			
		
		
	
	
			42 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			Makefile
		
	
| ################################################################################
 | |
| 
 | |
| # This Makefile generated by GoMakeGen 1.3.2 using next command:
 | |
| # gomakegen .
 | |
| #
 | |
| # More info: https://kaos.sh/gomakegen
 | |
| 
 | |
| ################################################################################
 | |
| 
 | |
| .DEFAULT_GOAL := help
 | |
| .PHONY = fmt vet git-config deps deps-test test help
 | |
| 
 | |
| ################################################################################
 | |
| 
 | |
| git-config: ## Configure git redirects for stable import path services
 | |
| 	git config --global http.https://pkg.re.followRedirects true
 | |
| 
 | |
| deps: git-config ## Download dependencies
 | |
| 	go get -d -v github.com/golang/freetype
 | |
| 	go get -d -v golang.org/x/image/font
 | |
| 
 | |
| deps-test: git-config ## Download dependencies for tests
 | |
| 	go get -d -v pkg.re/essentialkaos/check.v1
 | |
| 
 | |
| test: ## Run tests
 | |
| 	go test -covermode=count .
 | |
| 
 | |
| fmt: ## Format source code with gofmt
 | |
| 	find . -name "*.go" -exec gofmt -s -w {} \;
 | |
| 
 | |
| vet: ## Runs go vet over sources
 | |
| 	go vet -composites=false -printfuncs=LPrintf,TLPrintf,TPrintf,log.Debug,log.Info,log.Warn,log.Error,log.Critical,log.Print ./...
 | |
| 
 | |
| help: ## Show this info
 | |
| 	@echo -e '\n\033[1mSupported targets:\033[0m\n'
 | |
| 	@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) \
 | |
| 		| awk 'BEGIN {FS = ":.*?## "}; {printf "  \033[33m%-12s\033[0m %s\n", $$1, $$2}'
 | |
| 	@echo -e ''
 | |
| 	@echo -e '\033[90mGenerated by GoMakeGen 1.3.2\033[0m\n'
 | |
| 
 | |
| ################################################################################
 |