You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							22 lines
						
					
					
						
							383 B
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							22 lines
						
					
					
						
							383 B
						
					
					
				
								help:
							 | 
						|
									@echo "test             run test"
							 | 
						|
									@echo "lint             run lint"
							 | 
						|
									@echo "example          run examples"
							 | 
						|
								
							 | 
						|
								.PHONY: test
							 | 
						|
								test:
							 | 
						|
									go test -v -cover -coverprofile cover.out
							 | 
						|
									go tool cover -html=cover.out -o cover.html
							 | 
						|
								
							 | 
						|
								.PHONY: lint
							 | 
						|
								lint:
							 | 
						|
									gofmt -s -w .
							 | 
						|
									goimports -w .
							 | 
						|
									golint .
							 | 
						|
									go vet
							 | 
						|
								
							 | 
						|
								.PHONY: example
							 | 
						|
								example:
							 | 
						|
									cd example && sh test.sh
							 | 
						|
								ci-test:
							 | 
						|
									cd costesting && go test -v 
							 |