File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 11#  Build customization
22builds :
3-   - main : ./cmd/infrabin/main.go 
3+   - main : ./cmd/go- infrabin/main.go 
44    binary : go-infrabin 
55    goos :
66      - windows 
Original file line number Diff line number Diff line change 3232    deploy :
3333    - provider : script 
3434      skip_cleanup : true 
35-       script : curl -sL https://git.io/goreleaser | bash 
35+       script : make go-mod-tidy &&  curl -sL https://git.io/goreleaser | bash
3636      on :
3737        tags : true 
3838        condition : " $TRAVIS_OS_NAME = linux" 
Original file line number Diff line number Diff line change @@ -19,5 +19,11 @@ dep-ci: dep
1919	go get golang.org/x/tools/cmd/cover
2020	go get github.com/mattn/goveralls
2121
22+ #  Clean go.mod
23+ go-mod-tidy :
24+ 	@go mod tidy -v
25+ 	@git diff HEAD
26+ 	@git diff-index --quiet HEAD
27+ 
2228clean :
2329	rm -f $(BINARY_NAME ) 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments