mirror of
				https://github.com/beego/bee.git
				synced 2025-11-04 09:23:24 +00:00 
			
		
		
		
	add gofmt check for travis
This commit is contained in:
		@@ -11,6 +11,7 @@ install:
 | 
			
		||||
  - go get -u honnef.co/go/tools/cmd/unused
 | 
			
		||||
  - go get -u github.com/mdempsky/unconvert
 | 
			
		||||
script:
 | 
			
		||||
  - find . ! \( -path './vendor' -prune \) -type f -name '*.go' -print0 | xargs -0 gofmt -l -s
 | 
			
		||||
  - go vet  $(go list ./... | grep -v /vendor/)
 | 
			
		||||
  - structcheck  $(go list ./... | grep -v /vendor/)
 | 
			
		||||
  - gosimple -ignore "$(cat gosimple.ignore)" $(go list ./... | grep -v /vendor/)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user