File tree Expand file tree Collapse file tree 2 files changed +5
-14
lines changed Expand file tree Collapse file tree 2 files changed +5
-14
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ For building Kubeval you'll need the following:
1212
1313For releasing Kubeval you'll also need:
1414
15- *  [ Goreleaser] ( https://opencollective .com ) 
15+ *  [ Goreleaser] ( https://goreleaser .com/  ) 
1616
1717The acceptance tests use [ Bats] ( https://github.com/sstephenson/bats )  and can be run
1818directly or via Docker.
Original file line number Diff line number Diff line change @@ -72,24 +72,15 @@ clean:
7272fmt :
7373	gofmt -w $(GOFMT_FILES ) 
7474
75- checksum-windows-386  :
76- 	cd  dist &&  sha256sum $( NAME )  -windows-386 .zip
75+ dist/ $( NAME ) - checksum-%  :
76+ 	cd  dist &&  sha256sum $@  .zip
7777
78- checksum-windows-amd64 :
79- 	cd  dist &&  sha256sum $(NAME ) -windows-amd64.zip
80- 
81- checksum-darwin :
82- 	cd  dist &&  sha256sum $(NAME ) -darwin-amd64.zip
83- 
84- checksum-linux :
85- 	cd  dist &&  sha256sum $(NAME ) -linux-amd64.zip
86- 
87- checksums : checksum-darwin checksum-windows-386 checksum-windows-amd64 checksum-linux
78+ checksums : dist/$(NAME ) -checksum-darwin-amd64 dist/$(NAME ) -checksum-windows-386 dist/$(NAME ) -checksum-windows-amd64 dist/$(NAME ) -checksum-linux-amd64
8879
8980chocolatey/$(NAME ) /$(NAME ) .$(TAG ) .nupkg : chocolatey/$(NAME ) /$(NAME ) .nuspec
9081	cd  chocolatey/$(NAME )  &&  choco pack
9182
9283choco :
9384	cd  chocolatey/$(NAME )  &&  choco push $(NAME ) .$(TAG ) .nupkg -s https://chocolatey.org/
9485
95- .PHONY : release snapshot fmt clean cover acceptance lint docker test vet watch build check checksum-windows-386 checksum-windows-amd64 checksum-darwin checksum-linux  choco checksum 
86+ .PHONY : release snapshot fmt clean cover acceptance lint docker test vet watch build check choco checksums 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments